Python3 Support
Hello,
I was curious is there will be python 3 support given that python 2 is EOL soon?
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]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/liblinear/issues/52", "url": "https://github.com/cjlin1/liblinear/issues/52", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/liblinear/issues/52 [2] https://github.com/notifications/unsubscribe-auth/ABI3BHRUNUHIENWSPRCKTILPTGZWHANCNFSM4HJUH64Q
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.