Review code base for Python 3000 compliance
The code base needs to be reviewed and modified in order to anticipate upgrade for Python 3000. Presumably this work can be done in a separate branch. A migration checklist would be useful.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Preliminary migration checklist:
- make use of decorators for properties, static methods, and class methods
- use of dicts will need to be reviewed, especially if calling dict.keys(), dict.items() and dict.values()
- use of cmp() and __cmp__() functions will need to be phased out
- string formatting using % is to be phased out, replace with string.format()
- catching exceptions must do catch "Exception as instance"
- dict.has_key() has been removed, replace with "in" operator
- apply() and reduce() have been removed
- exceptions must derive from BaseException