[issue31033] Add argument to .cancel() of Task and Future

Марк Коренберг report at bugs.python.org
Fri Aug 11 01:34:50 EDT 2017


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

1. Yes, specifying argument to cancel in `raise CancelledError` would be perfect
2. specifying argument to `.cancel()` is still actual.
3. Yes, important part of exceptions should not be swallowed (please open separate issue). Also, it will be nice to show which code calls `.cancel()`, not only `sleep()` you menitioned.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31033>
_______________________________________


More information about the Python-bugs-list mailing list