Skip to content

[3.8] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749)#18756

Merged
pablogsal merged 1 commit intopython:3.8from
pablogsal:backport-0c2b509-3.8
Mar 2, 2020
Merged

[3.8] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749)#18756
pablogsal merged 1 commit intopython:3.8from
pablogsal:backport-0c2b509-3.8

Conversation

@pablogsal
Copy link
Member

@pablogsal pablogsal commented Mar 2, 2020

Objects do not own weak references to them directly through the weakref list so these
do not need to be traversed by the GC.
(cherry picked from commit 0c2b509)

https://bugs.python.org/issue39778

…_traverse and tp_clear (pythonGH-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.
(cherry picked from commit 0c2b509)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants