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.x Compatibility #109

Open
coxley opened this issue Apr 19, 2016 · 1 comment
Open

Python 3.x Compatibility #109

coxley opened this issue Apr 19, 2016 · 1 comment

Comments

@coxley
Copy link
Contributor

coxley commented Apr 19, 2016

While I would love to have this Python 3.5 compatible, probably more feasible to make 2.7 and 3.3 compatible. From what I understand 3.3 is one of the easier py3 versions to maintain forward and backward projects.

We should use six sparingly and when needed to do conditional version blocks, treat py2 as the special case:

if six.PY2:
  # Special code
else:
  # Modern code

This way it allows py4 when released to fall back to py3 code which will probably be compatible.

@jathanism
Copy link
Contributor

I think this is a great idea after we launch v1.0

@jathanism jathanism changed the title Python 3.3 Compatible Python 3.3 Compatibility Apr 27, 2016
@jathanism jathanism changed the title Python 3.3 Compatibility Python 3.x Compatibility Apr 17, 2019
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