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

python3.5 no longer likes raise StopIteration from generators #8

Closed
unhammer opened this issue Jan 13, 2016 · 1 comment
Closed

python3.5 no longer likes raise StopIteration from generators #8

unhammer opened this issue Jan 13, 2016 · 1 comment

Comments

@unhammer
Copy link
Member

https://docs.python.org/3/whatsnew/3.5.html#pep-479-change-stopiteration-handling-inside-generators

324a185 changed the return from generator into raise StopIteration to make it compatible with older python3's, but this makes it incompatible with 3.5 and newer, see https://travis-ci.org/goavki/apertium-apy/jobs/102092337 for the error message

@unhammer
Copy link
Member Author

unhammer commented Feb 9, 2016

Fixed by putting the StopIteration version in translation_py32.py, a8cad48

@unhammer unhammer closed this as completed Feb 9, 2016
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

No branches or pull requests

1 participant