Content-Length: 315405 | pFad | https://github.com/python/cpython/pull/18755

5D [3.7] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) by miss-islington · Pull Request #18755 · python/cpython · GitHub
Skip to content

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

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-0c2b509-3.7
Mar 2, 2020
Merged

[3.7] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749)#18755
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-0c2b509-3.7

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington 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)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com

https://bugs.python.org/issue39778

…rse 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>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@pablogsal: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 69ded39 into python:3.7 Mar 2, 2020
@miss-islington miss-islington deleted the backport-0c2b509-3.7 branch March 2, 2020 23:53
@miss-islington
Copy link
Copy Markdown
Contributor Author

@pablogsal: Status check is done, and it's a success ✅ .

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.

4 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/18755

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy