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

[3.9] bpo-46070: Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)" by vstinner · Pull Request #30566 · python/cpython · GitHub

/ cpython Public

[3.9] bpo-46070: Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)" - #30566

Closed
vstinner wants to merge 3 commits into
python:3.9from
vstinner:revert_gc39
Closed

[3.9] bpo-46070: Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)"#30566
vstinner wants to merge 3 commits into
python:3.9from
vstinner:revert_gc39

Conversation

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

Copy link
Copy Markdown
Member

This reverts commit 7247407.

Fix a random crash involving subinterpreters on Windows. Revert the
change which made the gc module state per interpreter: the gc module
state is shared again by all interpreters.

https://bugs.python.org/issue36854

…rState (GH-17287)"

This reverts commit 7247407.

Fix a random crash involving subinterpreters on Windows. Revert the
change which made the gc module state per interpreter: the gc module
state is shared again by all interpreters.
vstinner changed the title [3.9] Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)" bpo-46070: [3.9] Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)" Jan 12, 2022

ericsnowcurrently left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

vstinner changed the title bpo-46070: [3.9] Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)" [3.9] bpo-46070: Revert "bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)" Jan 13, 2022

Copy link
Copy Markdown
Member Author

Without this PR, I can crash Python in a reliable way using this method: https://bugs.python.org/issue46070#msg410447

With this PR, I can no longer reproducer the crash: Python is fixed.

brettcannon removed their request for review January 13, 2022 01:02

Copy link
Copy Markdown
Member Author

I wrote a simpler fix: GH-30577.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL