| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Fix a crash in subinterpreters related to the garbage collector. When a subinterpreter is deleted, untrack all objects tracked by its GC. To prevent a crash in deallocator functions expecting objects to be tracked by the GC, leak a strong reference to these objects on purpose, so they are never deleted and their deallocator functions are not called. (cherry picked from commit 1424336) Co-authored-by: Victor Stinner <vstinner@python.org>
|
@vstinner: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, good bot.
Sorry, something went wrong.
|
Sorry, I can't merge this PR. Reason: 3 of 6 required status checks are expected.. |
Sorry, something went wrong.
|
@vstinner: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fix a crash in subinterpreters related to the garbage collector. When
a subinterpreter is deleted, untrack all objects tracked by its GC.
To prevent a crash in deallocator functions expecting objects to be
tracked by the GC, leak a strong reference to these objects on
purpose, so they are never deleted and their deallocator functions
are not called.
(cherry picked from commit 1424336)
Co-authored-by: Victor Stinner vstinner@python.org