Марк Коренберг added the comment:

For delayed execution methods:

"Returned handle is actually timer object. That timer can be deactivated using 
asyncio.Handle.cancel() method, so registered callback won't be called".

For other callback registration methods:

"Returned handle may be used to unregister callback using 
asyncio.Handle.cancel(), so registered callback won't be called".


Also:
1. Documentation of .cancel does not say if it is allowed to cancel cancelled 
handle.
2. Documentation does not say if it is allowed to cancel timer, that was 
already fired.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24509>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to