summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/threads.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-03-21 18:47:55 (GMT)
committerGitHub <noreply@github.com>2023-03-21 18:47:55 (GMT)
commitd1b883b52a99427d234c20e4a92ddfa6a1da8880 (patch)
tree6fe066735e6e975f1f2f061ab3dc67766ceef2fa /Lib/asyncio/threads.py
parent0214c7ad90b0afc3d1491c96e22e48d426caf5e2 (diff)
downloadcpython-d1b883b52a99427d234c20e4a92ddfa6a1da8880.zip
cpython-d1b883b52a99427d234c20e4a92ddfa6a1da8880.tar.gz
cpython-d1b883b52a99427d234c20e4a92ddfa6a1da8880.tar.bz2
gh-98608: Fix Failure-handling in new_interpreter() (gh-102658)
The error-handling code in new_interpreter() has been broken for a while. We hadn't noticed because those code mostly doesn't fail. (I noticed while working on gh-101660.) The problem is that we try to clear/delete the newly-created thread/interpreter using itself, which just failed. The solution is to switch back to the calling thread state first. https://github.com/python/cpython/issues/98608
Diffstat (limited to 'Lib/asyncio/threads.py')
0 files changed, 0 insertions, 0 deletions