Changes between Version 7 and Version 8 of PortingNotesFor2To3


Ignore:
Timestamp:
Dec 10, 2011, 12:03:44 PM (13 years ago)
Author:
Vinay Sajip
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingNotesFor2To3

    v7 v8  
    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__`.
     81
    8082* 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
    8183  in the porting process.
Back to Top