Roundup Robot added the comment:
New changeset c167b9f9aac8 by Victor Stinner in branch '3.4':
Issue #23219: Update asyncio.wait_for() documentation
https://hg.python.org/cpython/rev/c167b9f9aac8
--
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@gmail.com:
--
stage: resolved -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23219
___
___
Roundup Robot added the comment:
New changeset 8adf1896712d by Victor Stinner in branch '3.4':
Closes #23219: cancelling asyncio.wait_for() now cancels the task
https://hg.python.org/cpython/rev/8adf1896712d
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open -
New submission from STINNER Victor:
Cancelling wait_for(task, timeout) must also cancel the waited task. Attached
patch fixes this issue.
Original issue:
https://code.google.com/p/tulip/issues/detail?id=211
--
components: asyncio
files: cancel_wait_for.patch
keywords: patch
messages:
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file37665/cancel_wait_for.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23219
___
STINNER Victor added the comment:
Oops, I forgot to call remove_done_callback(). New patch attached.
My patch is based on Gustavo Carneiro's patch from Tulip issue #211.
--
Added file: http://bugs.python.org/file37667/cancel_wait_for-2.patch
___