[New-bugs-announce] [issue35749] Ignore exception if event loop wakeup pipe is full
report at bugs.python.org
Wed Jan 16 03:17:26 EST 2019
New submission from Andrew Svetlov <andrew.svetlov at gmail.com>:
Asyncio uses a pipe to wakeup event loop in cases of
1. Signal handlers (set_wakeup_fd)
2. Calling asyncio code from another thread
In both cases, it sends b'\0' to the pipe to wake up a loop.
If the pipe is full OSError is raised.
asyncio logs these exceptions in debug mode.
The logging can be omitted because if the pipe is full the loop wakes up and drains the pipe anyway.
title: Ignore exception if event loop wakeup pipe is full
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce