]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (gh-121503)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 8 Jul 2024 21:10:00 +0000 (15:10 -0600)
committerGitHub <noreply@github.com>
Mon, 8 Jul 2024 21:10:00 +0000 (15:10 -0600)
commit15d48aea02099ffc5bdc5511cc53ced460cb31b9
tree89308eb93657f4bb65fddafcb8c7ebaa9dd0af58
parent218edaf0ffe6ef38349047f378649f93d280e23e
gh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (gh-121503)

The change in gh-118157 (b2cd54a) should have also updated clear_singlephase_extension() but didn't.  We fix that here.  Note that clear_singlephase_extension() (AKA _PyImport_ClearExtension()) is only used in tests.
Lib/test/test_import/__init__.py
Python/import.c