Ticket #5939 enhancement closed fixed
Add Python 3 requirements to coding standard
| Reported by: | itamar | Owned by: | exarkun |
|---|---|---|---|
| Priority: | normal | Milestone: | Python 3.3 Minimal |
| Component: | core | Keywords: | |
| Cc: | Branch: | branches/coding-standard-py3-5939 | |
| Author: | exarkun | Launchpad Bug: |
Description
All new code should be, at the very least, non-conflicting with Python 3. The coding standard should be updated appropriately. Some, but not all, items include:
- All byte strings must start with b.
- Exceptions must be caught except Exception as e.
- Use of new functions and classes in twisted.python.compat, e.g. unicode.
- All modules must have the division __future__.
Etc.
Change History
Note: See
TracTickets for help on using
tickets.
