[issue31943] Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when
New submission from Marat Sharafutdinov <decaz89@gmail.com>: It would be handy to access the loop's time the Handle's callback will be called at if you are using delayed calls with "delay" (not "when") argument. Also it is useful to know whether the call was cancelled through the special attribute. ---------- assignee: docs@python components: Documentation, Library (Lib), asyncio messages: 305561 nosy: decaz, docs@python, yselivanov priority: normal pull_requests: 4238 severity: normal status: open title: Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when type: enhancement versions: Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31943> _______________________________________
Change by Marat Sharafutdinov <decaz89@gmail.com>: ---------- title: Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when -> Add asyncio.Handle.cancelled() method _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31943> _______________________________________
Change by Andrew Svetlov <andrew.svetlov@gmail.com>: ---------- resolution: -> fixed stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31943> _______________________________________
Change by Marat Sharafutdinov <decaz89@gmail.com>: ---------- versions: +Python 3.7 -Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31943> _______________________________________
participants (2)
-
Andrew Svetlov
-
Marat Sharafutdinov