Author stestagg
Recipients Mark.Shannon, rhettinger, stestagg, xxm
Date 2020-12-29.20:08:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609272532.19.0.527411087176.issue42762@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2020-12-29 20:08:52stestaggsetrecipients: + stestagg, rhettinger, Mark.Shannon, xxm
2020-12-29 20:08:52stestaggsetmessageid: <1609272532.19.0.527411087176.issue42762@roundup.psfhosted.org>
2020-12-29 20:08:52stestagglinkissue42762 messages
2020-12-29 20:08:52stestaggcreate