Edgewall Software

Changes between Version 17 and Version 23 of Ticket #9536


Ignore:
Timestamp:
Feb 21, 2011, 11:16:06 PM (11 years ago)
Author:
Remy Blank
Comment:

First batch of changes applied in [10580].

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9536 – Description

    v17 v23  
    11The goal of this task is to remove Python 2.4 compatibility code, and to start using Python 2.5-only features. See [http://docs.python.org/whatsnew/2.5.html what's new in Python 2.5]. This includes:
    22
    3  * Use context managers and the `with` statement for: database transactions, handling locks, handling files.
     3 * ~~Use context managers and the `with` statement for: database transactions, handling locks, handling files.~~
    44 * Use `... if ... else ...` expressions instead of the more error-prone `... and ... or ...`.
    55 * Use `try: except: finally:` instead of nested `try: finally:` and `try: except:`.