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

Yury Selivanov report at bugs.python.org
Sat Jun 11 12:05:13 EDT 2016


Yury Selivanov added the comment:

I'm merging David's patch.  I concur with David that the only viable way to fix this is to loop through the CancelledError until the lock is acquired (and Condition is in a right state).

Thanks, David.  It should make it to 3.5.2 now.

----------
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list