gh-94673: Add Per-Interpreter tp_weaklist for Static Builtin Types (#95302)
* Store tp_weaklist on the interpreter state for static builtin types. * Factor out _PyStaticType_GET_WEAKREFS_LISTPTR(). * Add _PyStaticType_ClearWeakRefs(). * Add a comment about how _PyStaticType_ClearWeakRefs() loops. * Document the change. * Update Doc/whatsnew/3.12.rst * Fix a typo.
E
Eric Snow committed
3e7cad3bca64ab213c66e2bd41c9d1cf1d057526
Parent: 6e44bf9
Committed by GitHub <noreply@github.com>
on 7/29/2022, 1:23:47 AM