8000 [3.12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters by ericsnowcurrently · Pull Request #107751 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3. 8000 12] gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters #107751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Skip test_basic_multiple_interpreters_deleted_no_reset on tracerefs b…
…uilds.
  • Loading branch information
ericsnowcurrently committed Aug 7, 2023
commit 6eb6e60a3ee41790f60f44e370a9ebd500f13877
6 changes: 6 additions & 0 deletions Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2539,6 +2539,12 @@ def test_basic_multiple_interpreters_main_no_reset(self):
def test_basic_multiple_interpreters_deleted_no_reset(self):
# without resetting; already loaded in a deleted interpreter

if hasattr(sys, 'getobjects'):
# It's a Py_TRACE_REFS build.
# This test breaks interpreter isolation a little,
# which causes problems on Py_TRACE_REF builds.
raise unittest.SkipTest('crashes on Py_TRACE_REFS builds')

# At this point:
# * alive in 0 interpreters
# * module def may or may not be loaded already
Expand Down
0