Steve Stagg <stest...@gmail.com> added the comment:
That /is/ weird. I tried a few variations, and it looks like something is being stored on the exception that is stopping the loop behaviour. "except BaseException:" <- infinite loop "except BaseException as e:" <- NO loop "except BaseException as e: del e yield from foo()" <- infinite loop So is this a reference being retained somewhere? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42762> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com