New submission from Andrew Svetlov <andrew.svet...@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.

----------
messages: 333751
nosy: asvetlov
priority: normal
severity: normal
status: open
title: Ignore exception if event loop wakeup pipe is full

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35749>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to