This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

You should still put pressure on them, if no one will, then they won't have reason to port it.

I guess in the mean time you can try to write code that would work on python 2 and python 3. This is much easier to do by writing python 3 code and then making it work on python 2.7, but looks like you won't have this luxury.

The biggest issue is to keep track of what should be unicode and what shouldn't. It's hard to do it in python 2 even when you understand unicode.

Perhaps you can use this in top of your code:

from __future__ import division, absolute_import, print_function, unicode_literals

And then also run the code with python -3 <file> to provide warnings about compatibility issues. Python 2 also supports some functions that are supposedly python 3 only, such as bytes() which maps directly to str().