]> granicus.if.org Git - python/commit
Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads all
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Jun 2014 10:59:15 +0000 (12:59 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Jun 2014 10:59:15 +0000 (12:59 +0200)
commit54c4b8e5c1e0fd11235ab0d5c848e5355293c964
tree30832489bbac91a3f904a6eb952d4ceb07b56b6b
parent6bfd854ea81fecd82711ba2b6107718bab872635
Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads all
available bytes from the "self pipe", not only a single byte. This change
reduces the risk of having the pipe full and so getting the innocuous
"BlockingIOError: [Errno 11] Resource temporarily unavailable" message.
Lib/asyncio/selector_events.py