This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Cancel method for Asyncio Task is not documented
Type: Stage:
Components: Documentation Versions: Python 3.4, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, giampaolo.rodola, gvanrossum, pitrou, python-dev, vajrasky, vstinner, yselivanov
Priority: normal Keywords: patch

Created on 2014-05-29 05:08 by vajrasky, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
fix_doc_asyncio_task.patch vajrasky, 2014-05-29 05:08 review
Messages (3)
msg219333 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2014-05-29 05:08

The cancel method is not documented although it is a part of public API. Here is the patch to fix the doc.
msg219641 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-06-02 21:09
New changeset c2384ca7fc3b by Victor Stinner in branch '3.4':
Issue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky

New changeset 0ee47d3d2664 by Victor Stinner in branch 'default':
(Merge 3.4) Issue #21601: Document asyncio.Task.cancel(). Initial patch written
msg219642 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-06-02 21:10
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.
Date User Action Args
2022-04-11 14:58:04adminsetgithub: 65800
2014-06-02 21:10:15vstinnersetstatus: open -> closed

nosy: + gvanrossum, pitrou, giampaolo.rodola, yselivanov
messages: + msg219642

resolution: fixed
2014-06-02 21:09:05python-devsetnosy: + python-dev
messages: + msg219641
2014-05-29 05:08:32vajraskycreate