summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_htmlparser.py
diff options
context:
space:
mode:
authorhetmankp <728670+hetmankp@users.noreply.github.com>2022-10-03 20:34:35 (GMT)
committerGitHub <noreply@github.com>2022-10-03 20:34:35 (GMT)
commit3a49dbb98ccc1b90554ed181386316efa38adfba (patch)
treec1bee19994568f421a70243d6b9e4e480e2332ed /Lib/test/test_htmlparser.py
parent873a2f25272ca9fb027866a9730c44ba627b30cc (diff)
downloadcpython-3a49dbb98ccc1b90554ed181386316efa38adfba.zip
cpython-3a49dbb98ccc1b90554ed181386316efa38adfba.tar.gz
cpython-3a49dbb98ccc1b90554ed181386316efa38adfba.tar.bz2
gh-94732: Fix KeyboardInterrupt race in asyncio run_forever() (#97765)
Ensure that the event loop's `_thread_id` attribute and the asyncgen hooks set by `sys.set_asyncgen_hooks()` are always restored no matter where a KeyboardInterrupt exception is raised.
Diffstat (limited to 'Lib/test/test_htmlparser.py')
0 files changed, 0 insertions, 0 deletions