Closed dunossauro closed 3 years ago
You probably know already, but just commenting here that this seems related to PEP 479 - it's likely the generator should be just using return
to shut itself down instead of raising StopIteration
.
The "new" behavior - which was introduced already in Python 3.5 - is that if a generator raises StopIteration
, that is converted to a RuntimeError
, which is exactly what the above stack trace has. This change was made for technical reasons, as it made some things simpler in the async
stuff added in Python 3.5. See PEP 492.
git+https://github.com/dbrattli/OSlash.git
OSlash has now been ported to Python 3.8. Will publish a new release shortly.
Hello @dbrattli, I tried to install
oslash
on python 3.7 and has some problems in runtime. (see full stacktrace).I would like to fix that if you want.
These error is related
List.__str__
.Related #4