Opened 14 years ago
Last modified 8 years ago
#9536 closed task
Remove Python 2.4 compatibility — at Initial Version
Reported by: | Remy Blank | Owned by: | Remy Blank |
---|---|---|---|
Priority: | normal | Milestone: | 1.0 |
Component: | general | Version: | 0.13dev |
Severity: | normal | Keywords: | python25 |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The goal of this task is to remove Python 2.4 compatibility code, and to start using Python 2.5-only features. This includes:
- Use context managers and the
with
statement. - Use
... if ... else ...
expressions instead of the more error-prone... and ... or ...
. - Remove our own implementations for functionality that was introduced in Python 2.5.
- Use generator expressions instead of list comprehensions where adequate.
Please add new items to this list as they pop up.
Note:
See TracTickets
for help on using tickets.