[issue34323] False timeout log message on proactor close

John Nelson report at bugs.python.org
Thu Aug 2 18:55:55 EDT 2018


John Nelson <john at jnelson.ca> added the comment:

I *suspect* the issue is down to a discrepancy between:
- IocpProactor.close(), and
- IocpProactor._poll()

When the former calls the latter, it seems to be expecting a truth value response from _poll() to indicate that no timeout occurred. However, the latter only ever returns None.

Of note is that `ms != 0` whenever a timeout occurs, potentially giving a simple test point.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34323>
_______________________________________


More information about the Python-bugs-list mailing list