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

Fixes for Python 3 #7

Merged
merged 7 commits into from
Apr 6, 2016
Merged

Fixes for Python 3 #7

merged 7 commits into from
Apr 6, 2016

Conversation

svidela
Copy link
Contributor

@svidela svidela commented Apr 5, 2016

No description provided.

@ntamas
Copy link
Owner

ntamas commented Apr 5, 2016

Great, thanks a lot! I'm only a bit worried about the xrange -> range change because range creates an entire list in Python. Would it be possible to change it back to xrange and then work around it for Python 3 like this:

try:
    xrange
except NameError:
    xrange = range

@svidela
Copy link
Contributor Author

svidela commented Apr 6, 2016

I tested in both python 2 and python 3, running the automated tests and the console scripts manually.
cheers!

@ntamas ntamas merged commit 75e6bc9 into ntamas:master Apr 6, 2016
@ntamas
Copy link
Owner

ntamas commented Apr 6, 2016

Thanks! I will create a new release soon.

@ntamas
Copy link
Owner

ntamas commented Apr 6, 2016

yard 0.2.4 is now out on PyPI. Also, it has been confirmed to be compatible with Python 2.x, Python 3.x, PyPy 2.x and PyPy 3.x as well.

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