Mark Shannon <m...@hotpy.org> added the comment:
The problem is that generators always raise an exception, even when they terminate normally. They don't in 2.7 and didn't prior to https://github.com/python/cpython/commit/1f7ce62bd61488d5d721896a36a1b43befab88b5#diff-23c87bfada1d01335a3019b9321502a0 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40225> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com