Guido van Rossum <gu...@python.org> added the comment:

> > I note that there is no documented way to retrieve the cancel message

> Does retrieving it from the CancelledError that is bubbling up suffice? Or do 
> you need to be able to obtain it from the future object?

I'm not sure yet (if anything I'd need it for a task, not a future). But it's 
also not documented that it gets passed to the exception (at least not in the 
Task docs -- I didn't check the Future docs).

----------

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

Reply via email to