Changes between Version 8 and Version 9 of PortingNotesFor2To3
- Timestamp:
- Dec 10, 2011, 12:59:32 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingNotesFor2To3
v8 v9 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__ `.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 81 82 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