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

Make gl3w_gen.py compatible with both Python 2 and Python 3 #19

Merged
merged 5 commits into from
Jan 26, 2015
Merged

Make gl3w_gen.py compatible with both Python 2 and Python 3 #19

merged 5 commits into from
Jan 26, 2015

Conversation

tombsar
Copy link
Collaborator

@tombsar tombsar commented Jan 23, 2015

These changes make the gl3w_gen.py script run in both Python 2 (tested with 2.7.8) and Python 3 (tested with 3.4.2). Everything should also work in Python 2.6, according to the documentation.

Note: Some sources suggest using from __future__ import unicode_literals for string compatibility. I'm not sure which is better, but it might be worth investigating.

@skaslev
Copy link
Owner

skaslev commented Jan 26, 2015

Thanks for the patch.

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

Successfully merging this pull request may close these issues.

2 participants