Closed espenhgn closed 4 years ago
this looks like an error introduced by python3.7
Q: “RuntimeError: generator raised StopIteration"
A: To judge from the file paths, it looks like you're running Python 3.7. If so, you're getting caught by new-in-3.7 behavior
We get the same error in python 3.7 only. 3.6 works.
This is caused by the change describe in: https://docs.python.org/3/whatsnew/3.7.html and specifically https://www.python.org/dev/peps/pep-0479
An iterator that depends on other iterators must specifically catch and deal with the inner StopIteration
Should be fixed in commit a4edc138
Closing
Hi @mdjurfeldt.
I'm experiencing an issue with Python 3.7 with the csa library installed from PyPI. Couldn't get the current master branch of the repo to install properly (
python setup.py install
used to work fine - now there's a lack of acsa/__init__.py
file for instance):The code used to run fine on Python 2.7, 3.4-3.6. Don't know why the change to 3.7 would change anything.