This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Mark.Shannon, rhettinger, stestagg, xxm
Date 2020-12-29.18:05:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609265110.02.0.399651133934.issue42762@roundup.psfhosted.org>
In-reply-to
Content
Even weirder, the old behavior returns if "except:" is replaced by "except BaseException as e:".

============================
def foo():
    try:
        yield
    except BaseException as e:
        yield from foo()

for m in foo():
    print(i)
History
Date User Action Args
2020-12-29 18:05:10rhettingersetrecipients: + rhettinger, Mark.Shannon, xxm, stestagg
2020-12-29 18:05:10rhettingersetmessageid: <1609265110.02.0.399651133934.issue42762@roundup.psfhosted.org>
2020-12-29 18:05:10rhettingerlinkissue42762 messages
2020-12-29 18:05:09rhettingercreate