[New-bugs-announce] [issue23197] asyncio: check if a future is cancelled before calling set_result/set_exception
STINNER Victor
report at bugs.python.org
Fri Jan 9 01:11:52 CET 2015
New submission from STINNER Victor:
set_result/set_exception methods of an asyncio.Future raise an exception if the future is cancelled.
Attached patch adds the check in 3 remaining places.
----------
components: asyncio
files: asyncio.patch
keywords: patch
messages: 233699
nosy: gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: asyncio: check if a future is cancelled before calling set_result/set_exception
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file37648/asyncio.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23197>
_______________________________________
More information about the New-bugs-announce
mailing list