[issue30985] Set closing variable in asyncore at close

STINNER Victor report at bugs.python.org
Mon Jul 24 19:31:27 EDT 2017


STINNER Victor added the comment:

"Fixing closing attribute will allow fixing the races during asyncore.poll() and asyncore.poll2(), see https://github.com/python/cpython/pull/2764"

Aha, *slowly* I understand that asyncore is vulnerable to multiple race conditions, and it seems lile we require to set a new closing attribute to fix it.

----------

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


More information about the Python-bugs-list mailing list