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 <rep...@bugs.python.org> <http://bugs.python.org/issue23197> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com