You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cancel method for Asyncio Task is not documented #65800
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-06-02.21:10:15.358>created_at=<Date2014-05-29.05:08:32.266>labels= ['docs']
title='Cancel method for Asyncio Task is not documented'updated_at=<Date2014-06-02.21:10:15.355>user='https://github.com/vajrasky'
By the way, the CancelledError from conccurent.futures is not documented and asyncio still has its own asyncio.CancelledError alias which is not documented neither.
Activity
vajrasky commentedon May 29, 2014
https://docs.python.org/3.5/library/asyncio-task.html#task
The cancel method is not documented although it is a part of public API. Here is the patch to fix the doc.
python-dev commentedon Jun 2, 2014
New changeset c2384ca7fc3b by Victor Stinner in branch '3.4':
Issue bpo-21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky
http://hg.python.org/cpython/rev/c2384ca7fc3b
New changeset 0ee47d3d2664 by Victor Stinner in branch 'default':
(Merge 3.4) Issue bpo-21601: Document asyncio.Task.cancel(). Initial patch written
http://hg.python.org/cpython/rev/0ee47d3d2664
vstinner commentedon Jun 2, 2014
Thanks for the patch.
By the way, the CancelledError from conccurent.futures is not documented and asyncio still has its own asyncio.CancelledError alias which is not documented neither.