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 Mark.Shannon, brandtbucher, kumaraditya
Date 2022-01-14.11:07:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642158477.76.0.638852634946.issue46374@roundup.psfhosted.org>
In-reply-to
Content
I can reproduce this on linux.

The problem is that when closing a generator that has not started, the frame may not be in a valid state (hence the assertion failure).

This should be fixed by implementing https://github.com/faster-cpython/ideas/discussions/217 as that will ensure that the frame is in a valid state before the generator is created.

I'll make implementing https://github.com/faster-cpython/ideas/discussions/217 a priority in order to fix this.
History
Date User Action Args
2022-01-14 11:07:57Mark.Shannonsetrecipients: + Mark.Shannon, brandtbucher, kumaraditya
2022-01-14 11:07:57Mark.Shannonsetmessageid: <1642158477.76.0.638852634946.issue46374@roundup.psfhosted.org>
2022-01-14 11:07:57Mark.Shannonlinkissue46374 messages
2022-01-14 11:07:57Mark.Shannoncreate