Message396944
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. |
|
Date |
User |
Action |
Args |
2021-07-04 15:34:00 | kj | set | recipients:
+ kj, pablogsal |
2021-07-04 15:34:00 | kj | set | messageid: <1625412840.28.0.957157169127.issue44562@roundup.psfhosted.org> |
2021-07-04 15:34:00 | kj | link | issue44562 messages |
2021-07-04 15:34:00 | kj | create | |
|