[issue23197] asyncio: check if a future is cancelled before calling set_result/set_exception

STINNER Victor report at bugs.python.org
Wed Jan 14 17:16:41 CET 2015


STINNER Victor added the comment:

Ok, I commited my changes to Python 3.4, Python 3.5 and Tulip. All calls to set_result/set_exception should now be protected by a check on the future state.

There is now a new class of bugs, but it's a different issue:
https://code.google.com/p/tulip/issues/detail?id=218

I close this issue.

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

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


More information about the Python-bugs-list mailing list