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 Mark.Shannon
Recipients Dennis Sweeney, Mark.Shannon, dpgeorge
Date 2021-10-27.11:03:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635332585.96.0.591145065447.issue43683@roundup.psfhosted.org>
In-reply-to
Content
Just to be clear, it is the behavior change that should be reverted, not necessarily the new bytecode.

In fact we should probably push on with (2) and add an exception handler wrapping the whole generator except the GEN_START. That way a GEN_START exception will not clear the generator.
GEN_START might need to do a bit of trickery like setting lasti back to -1.
History
Date User Action Args
2021-10-27 11:03:06Mark.Shannonsetrecipients: + Mark.Shannon, Dennis Sweeney, dpgeorge
2021-10-27 11:03:05Mark.Shannonsetmessageid: <1635332585.96.0.591145065447.issue43683@roundup.psfhosted.org>
2021-10-27 11:03:05Mark.Shannonlinkissue43683 messages
2021-10-27 11:03:05Mark.Shannoncreate