weakrefobject.c
doesn't handle allocate_weakref
failures
#121652
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
We need to handle the case where
allocate_weakref
returnsNULL
due to an out-of-memory error.cpython/Objects/weakrefobject.c
Lines 428 to 439 in dc03ce7
Linked PRs
allocate_weakref
returning NULL #121653allocate_weakref
returning NULL (GH-121653) #121721The text was updated successfully, but these errors were encountered: