Edgewall Software

Changes between Version 4 and Version 5 of TracDev/ApiChanges/1.1.2


Ignore:
Timestamp:
Aug 4, 2014, 2:00:31 AM (10 years ago)
Author:
Ryan J Ollos
Comment:

Removed some TODOs for adopting Python 2.6. These will be moved forward to API changes for 1.1.3.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/1.1.2

    v4 v5  
    1818
    1919**Only Python versions 2.6 and 2.7 are supported.**
    20 
    21 The following language feature introduced in Python 2.6 can now be used and the related clean-ups can be done:
    22  - use string [http://docs.python.org/library/string.html#string-formatting format()], `print()`
    23  - `except Cls as val`
    24  - class decorators to avoid the `implements` hack?
    25  - `@prop.setter` / `@prop.deleter`
    26  - `namedtuple`s!
    27  - there's no longer need of `from __future__ import with_statement`
    28  - `next(iterator, [default])` to clean-up some unit tests
    29  - timeout in smtplib
    3020
    3121