Changes between Version 7 and Version 8 of PortingNotesFor2To3
- Timestamp:
- Dec 10, 2011, 12:03:44 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingNotesFor2To3
v7 v8 78 78 * Use `django.utils.py3.maxsize` in place of `sys.maxint`. 79 79 80 * Review `__repr__`, `__str__` and `__unicode__` methods to see what needs changing. On Python 3.x, `__str__()` should not return `bytes`, and neither should `__repr__`. 81 80 82 * Take a look at `django.utils.py3` to see what else you might need to change in your code: everything in there is needed somewhere 81 83 in the porting process.