Changes between Version 8 and Version 9 of PortingNotesFor2To3


Ignore:
Timestamp:
12/10/2011 12:59:32 PM (3 years ago)
Author:
vsajip
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingNotesFor2To3

    v8 v9  
    7878* Use `django.utils.py3.maxsize` in place of `sys.maxint`.
    7979
    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__()`.
    8181
    8282* 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
Back to Top