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 kj
Recipients kj, pablogsal
Date 2021-07-04.15:34:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625412840.28.0.957157169127.issue44562@roundup.psfhosted.org>
In-reply-to
Content
Ref: comment chain at https://github.com/python/cpython/pull/27008#discussion_r663450441.

setup_ga fails only if PyTuple_Pack fails, which usually happens when Python is out of memory. The cleanup code for setup_ga shouldn't use PyObject_GC_DEL as mentioned in Pablo's comment above.

I don't know how to add a test for out of memory, so I'll send a PR without test soon.
History
Date User Action Args
2021-07-04 15:34:00kjsetrecipients: + kj, pablogsal
2021-07-04 15:34:00kjsetmessageid: <1625412840.28.0.957157169127.issue44562@roundup.psfhosted.org>
2021-07-04 15:34:00kjlinkissue44562 messages
2021-07-04 15:34:00kjcreate