Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 any time soon #4

Open
Wesserg opened this issue Feb 9, 2018 · 3 comments
Open

Python 3 any time soon #4

Wesserg opened this issue Feb 9, 2018 · 3 comments

Comments

@Wesserg
Copy link

Wesserg commented Feb 9, 2018

Hello alnf. I was just wondering if you have any plan to move the package to python3 in near future?

@alnf
Copy link
Member

alnf commented Feb 9, 2018

Hi, yes, I was planning to do that after I wrap up some parallelization fixes. Although I'm not sure what is the most elegant way to do it, since I want both pyhon2 and python3 to be supported.

@spock
Copy link
Member

spock commented Feb 11, 2018

Unless there are some Python2-only dependencies, switching to Py3 might be a reasonable way forward (starting with e.g. automatic https://docs.python.org/3/library/2to3.html). If that is not possible, then a library like http://pythonhosted.org/six/ is often used to make code run under both Py2 and Py3.

@alnf
Copy link
Member

alnf commented Feb 13, 2018

@spock Thanks for the references. I tried several times 2to3 for other soft, but never used six, will be interesting to try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants