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, asvetlov, terry.reedy, xxm, yselivanov
Date 2021-11-22.10:53:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637578439.16.0.785944561311.issue45813@roundup.psfhosted.org>
In-reply-to
Content
I'm seeing a similar failure on a debug build of 3.10 as well.

./python 
Python 3.10.0+ (heads/3.10:9e7a2e4920, Nov 22 2021, 10:51:32) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> async def f():
...     pass
... 
>>> coro = f()
>>> frame = coro.cr_frame
>>> frame.clear()
<stdin>:1: RuntimeWarning: coroutine 'f' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
python: Objects/frameobject.c:695: frame_clear: Assertion `f->f_gen == NULL' failed.
Aborted (core dumped)


I don't know why that assertion is there, it doesn't seem to be valid.
History
Date User Action Args
2021-11-22 10:53:59Mark.Shannonsetrecipients: + Mark.Shannon, terry.reedy, asvetlov, yselivanov, Dennis Sweeney, xxm
2021-11-22 10:53:59Mark.Shannonsetmessageid: <1637578439.16.0.785944561311.issue45813@roundup.psfhosted.org>
2021-11-22 10:53:59Mark.Shannonlinkissue45813 messages
2021-11-22 10:53:59Mark.Shannoncreate