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 compatibility #22
Comments
Ok, I actually tried to use it and found you need some more adjustments. |
Ah, I assumed you had tried it so I jumped the gun and added Python 3 compatibility notes in README and CHANGES. I'll revert those for now.
Thanks, but that patch breaks Python 2 support. You can check Python 2 compatibility by running the test suite ( |
@LemonBoy: Are you interested in working on properly supporting both Python 2 and 3? Otherwise, I think it's time to close the issue. |
Fixed in #28. |
When calling
os.open
here the octal number0644
should be written as0o644
, otherwise python3 raises aSyntaxError: invalid token
.The same syntax works fine as far as I can see in python2.
The text was updated successfully, but these errors were encountered: