summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap_external.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-01-23 15:30:20 (GMT)
committerGitHub <noreply@github.com>2023-01-23 15:30:20 (GMT)
commit7b20a0f55a16b3e2d274cc478e4d04bd8a836a9f (patch)
treec2b341aca1b1298d230d44a76be1960a62d77cd6 /Lib/importlib/_bootstrap_external.py
parent984387f39a3385ed5699bd7e21797c348e543b19 (diff)
downloadcpython-7b20a0f55a16b3e2d274cc478e4d04bd8a836a9f.zip
cpython-7b20a0f55a16b3e2d274cc478e4d04bd8a836a9f.tar.gz
cpython-7b20a0f55a16b3e2d274cc478e4d04bd8a836a9f.tar.bz2
gh-59956: Allow the "Trashcan" Mechanism to Work Without a Thread State (gh-101209)
We've factored out a struct from the two PyThreadState fields. This accomplishes two things: * make it clear that the trashcan-related code doesn't need any other parts of PyThreadState * allows us to use the trashcan mechanism even when there isn't a "current" thread state We still expect the caller to hold the GIL. https://github.com/python/cpython/issues/59956
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
0 files changed, 0 insertions, 0 deletions