mirror of
https://github.com/python/cpython.git
synced 2026-07-25 03:12:54 -04:00
f78e1aa1f0
The `allocate_weakref` may return NULL when out of memory. We need to
handle that case and propagate the error.
(cherry picked from commit a640a605a8)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Source files for various builtin objects