diff options
author | Guido van Rossum <guido@python.org> | 2022-09-30 19:55:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 19:55:40 (GMT) |
commit | e9d63760fea8748638f6e495b5b07bd1805c9591 (patch) | |
tree | 26a42e0867b0a7cdc67b39e4f1b44021d95ef36f /Misc | |
parent | b05dd796492160c37c9e15e3882f699f411b3461 (diff) | |
download | cpython-e9d63760fea8748638f6e495b5b07bd1805c9591.zip cpython-e9d63760fea8748638f6e495b5b07bd1805c9591.tar.gz cpython-e9d63760fea8748638f6e495b5b07bd1805c9591.tar.bz2 |
GH-96827: Don't touch closed loops from executor threads (#96837)
* When chaining futures, skip callback if loop closed.
* When shutting down an executor, don't wake a closed loop.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-09-30-15-56-20.gh-issue-96827.lzy1iw.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-09-30-15-56-20.gh-issue-96827.lzy1iw.rst b/Misc/NEWS.d/next/Library/2022-09-30-15-56-20.gh-issue-96827.lzy1iw.rst new file mode 100644 index 0000000..159ab32 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-09-30-15-56-20.gh-issue-96827.lzy1iw.rst @@ -0,0 +1 @@ +Avoid spurious tracebacks from :mod:`asyncio` when default executor cleanup is delayed until after the event loop is closed (e.g. as the result of a keyboard interrupt). |