]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197)
authorVictor Stinner <vstinner@python.org>
Sat, 12 Sep 2020 06:50:18 +0000 (08:50 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Sep 2020 06:50:18 +0000 (08:50 +0200)
commit1b0f0e3d7d03155da1cf9769a847874d559e57e3
tree4668e74414cfc8b360dc2c68b7233766b54906ab
parent7e711ead26fea6465e0ef2e3b8880b57ba8fc129
bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197)

Fix a race condition in the call_soon_threadsafe() method of
asyncio.ProactorEventLoop: do nothing if the self-pipe socket has
been closed.
Lib/asyncio/proactor_events.py
Lib/asyncio/selector_events.py
Misc/NEWS.d/next/Library/2020-09-11-12-38-55.bpo-39651.JMp9l2.rst [new file with mode: 0644]