Python 3 conversion
Summary
As in, port the entire project to python 3. The "six" package is a thing, may need to look into that.
Resources
From @dbond2 -
-
__future__
imports forprint()
-
__future__
imports forabsolute_import
-
__future__
imports forunicode_literals
-
__future__
imports fordivision
(not widely applicable, like the other ones)
--
-
unicode()
-->str()
-
drop
__unicode__()
from models for only__str__()
--
- I do not think that bytestring issues are a problem, usually either by file processing or HttpRequest/HttpResponse objects, or by their specific use as a type
-
exceptions must use
as
(fairly sure already being done) - defining iterator, boolean evaluation, and division methods on objects would need to be changed, but I don't think they're applicable
--
-
install
python3-dev
- requirements and virtualenvironments will need to change
- look at and upgrade the third-party packages alongside this issue
- README will need to change accordingly