[issue23219] asyncio: cancelling wait_for(task, timeout) must also cancel the task

2015-04-03 Thread Roundup Robot
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

[issue23219] asyncio: cancelling wait_for(task, timeout) must also cancel the task

2015-01-15 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- stage: resolved - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23219 ___ ___

[issue23219] asyncio: cancelling wait_for(task, timeout) must also cancel the task

2015-01-15 Thread Roundup Robot
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 -

[issue23219] asyncio: cancelling wait_for(task, timeout) must also cancel the task

2015-01-10 Thread STINNER Victor
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:

[issue23219] asyncio: cancelling wait_for(task, timeout) must also cancel the task

2015-01-10 Thread STINNER Victor
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 ___

[issue23219] asyncio: cancelling wait_for(task, timeout) must also cancel the task

2015-01-10 Thread STINNER Victor
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 ___