Python3 Support
echin20 opened this issue · 2 comments
echin20 commented
Hello,
I was curious is there will be python 3 support given that python 2 is EOL soon?
cjlin1 commented
Ours can always be run on python 3, I think. See for example, we have
the following statement:
if sys.version_info[0] < 3:
range = xrange
from itertools import izip as zip
_cstr = lambda s: s.encode("utf-8") if isinstance(s,unicode) else
str(s)
else:
_cstr = lambda s: bytes(s, "utf-8")
…On 2019-05-01 08:31, echin20 wrote:
Hello,
I was curious is there will be python 3 support given that python 2 is
EOL soon?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2]. [ { ***@***.***": "http://schema.org", ***@***.***":
"EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target":
"#52", "url":
"#52", "name": "View Issue"
}, "description": "View this Issue on GitHub", "publisher": { ***@***.***":
"Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
------
[1] #52
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHRUNUHIENWSPRCKTILPTGZWHANCNFSM4HJUH64Q
ckastner commented
As a data point: in Debian, we have been shipping the Python 3 version of the bindings since 2015, and we haven't had any issues with it so far.