-
Notifications
You must be signed in to change notification settings - Fork 399
python 3 compatibility fixes (mostly for examples) #39
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
Conversation
python 3 compatibility fixes (mostly for examples)
|
Hi Jeff (peanut gallery comment, just came across this) - is there a reason to not use |
|
sys.stdout.write will work on python 2.5 - but since I'm using the print_function approach in some places, I may as well use it everywhere. I'll change this when I get a chance. Note that this is only for the examples, I'm don't intend to sacrifice python 2.5 compatibility in the module itself. |
|
ah right, thanks for the explanation, forgot about 2.5. Now I appreciate why once packages start supporting python3, they start to move away from anything older than 2.6, in order to keep their sanity :) |
No description provided.