bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749)
Objects do not own weak references to them directly through the __weakref__ list so these do not need to be traversed by the GC.
P
Pablo Galindo committed
0c2b509f9d1d3a9065bc62c2407e1dc2ed70e9c2
Parent: b3b9ade
Committed by GitHub <noreply@github.com>
on 3/2/2020, 11:12:54 PM