[issue22970] Cancelling wait() after notification leaves Condition in an inconsistent state

STINNER Victor report at bugs.python.org
Thu Jan 8 23:54:38 CET 2015


STINNER Victor added the comment:

threading.Condition.wait() implementation is very similar to asyncio.Condition.wait(), and the threading code only call acquire() once, it doesn't loop or ignore exceptions.

Does it mean that threading.Condition.wait() has the same issue?

----------

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


More information about the Python-bugs-list mailing list