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

Python3 compatability #19

Open
robinandeer opened this issue Jan 10, 2014 · 4 comments
Open

Python3 compatability #19

robinandeer opened this issue Jan 10, 2014 · 4 comments

Comments

@robinandeer
Copy link
Owner

No description provided.

@robinandeer
Copy link
Owner Author

2to3 seems to work right off the bat (not introducing weird changes at least)
Read up more on that project

@mdshw5
Copy link

mdshw5 commented Feb 20, 2014

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.

@robinandeer
Copy link
Owner Author

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.

@mdshw5
Copy link

mdshw5 commented Feb 20, 2014

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.

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

2 participants