[issue30931] Race condition in asyncore may access the wrong dispatcher

STINNER Victor report at bugs.python.org
Thu Jul 27 06:14:20 EDT 2017


STINNER Victor added the comment:

Much shorter summary:

* Handlers of dispatcher must not be called if the dispatcher was called.
* If a dispatcher is closed between the execution of two of his handlers, the next handlers should not be called

My PR 2854 adds 3 unit tests to verify this behaviour of 3 different "race conditions".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30931>
_______________________________________


More information about the Python-bugs-list mailing list