cosmid
cosmid copied to clipboard
Python3 compatability
2to3 seems to work right off the bat (not introducing weird changes at least) Read up more on that project
Looking at your code you should be able to use some from six.moves import ...
strategically after your 2to3 conversion to provide back-compatibility for py2.6 and 2.7.
Great! That package was new to me. I knew about from __future__ ...
but would rather like to develop in Python 3.x directly which I suppose "six" enables.
Yes, that's the idea. It's good to have some unit tests that you can run and then use something like tox to run your tests under versions of py2 and py3.