]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-23846: Fix ProactorEventLoop._write_to_self() (GH-11566) 11568/head
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Jan 2019 13:17:05 +0000 (05:17 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Jan 2019 13:17:05 +0000 (05:17 -0800)
commitc9f26714d511a338ba2fdd926e3dc62636f31815
tree6360f1da9698f40c0b74ed3ec1ae9f6c56116ad9
parentd5a6adf6285ec8892b977a32c22143ebd1025b50
bpo-23846: Fix ProactorEventLoop._write_to_self() (GH-11566)

asyncio.ProactorEventLoop now catchs and logs send errors when the
self-pipe is full: BaseProactorEventLoop._write_to_self() now catchs
and logs OSError exceptions, as done by
BaseSelectorEventLoop._write_to_self().
(cherry picked from commit c9f872b0bdce5888f1879fa74e098bf4a05430c5)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/asyncio/proactor_events.py
Misc/NEWS.d/next/Library/2019-01-15-13-31-30.bpo-23846.LT_qL8.rst [new file with mode: 0644]