[issue42762] infinite loop resulted by "yield"
Steve Stagg
report at bugs.python.org
Mon Dec 28 14:33:00 EST 2020
Steve Stagg <stestagg at gmail.com> added the comment:
Behaviour was changed in this commit:
---
commit ae3087c6382011c47db82fea4d05f8bbf514265d
Author: Mark Shannon <mark at hotpy.org>
Date: Sun Oct 22 22:41:51 2017 +0100
Move exc state to generator. Fixes bpo-25612 (#1773)
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.
---
I'm honestly not sure that the older behaviour was 'better' than current. But I don't know the defined behaviours well enough to be certain
----------
nosy: +stestagg
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42762>
_______________________________________
More information about the Python-bugs-list
mailing list