I am wondering why no one mentions the "six" package to maintain a 
temporary py2/py3-compatible codebase. I have an experience of moving my 
own small project from python 2 to python 3 with the "six" package quite 
successfully. The strategy was to add "import six" at every file and make 
the file work on both python2 and python3. After a period of keeping the 
stable py2/py3-compatible version for a while, then I dropped supporting 
python2 and started replacing all the compatible code based on "six" to 
pure python3 code. Of course, compared with Sage, my own project was a tiny 
thing.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to