FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.9] bpo-46070: _PyGC_Fini() untracks objects (GH-30577) by vstinner · Pull Request #30580 · python/cpython · GitHub

/ cpython Public

[3.9] bpo-46070: _PyGC_Fini() untracks objects (GH-30577) - #30580

Merged
vstinner merged 1 commit into
python:3.9from
vstinner:gc_fini_untrack39
Jan 13, 2022
Merged

[3.9] bpo-46070: _PyGC_Fini() untracks objects (GH-30577)#30580
vstinner merged 1 commit into
python:3.9from
vstinner:gc_fini_untrack39

Conversation

vstinner commented Jan 13, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.

(cherry picked from commit 1a4d1c1)

https://bugs.python.org/issue46070

Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.

(cherry picked from commit 1a4d1c1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL