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.

Author gvanrossum
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
Date 2022-02-17.05:54:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645077283.69.0.516029133063.issue46771@roundup.psfhosted.org>
In-reply-to
Content
> > 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).
History
Date User Action Args
2022-02-17 05:54:43gvanrossumsetrecipients: + gvanrossum, njs, jab, asvetlov, alex.gronholm, chris.jerdonek, yselivanov, tinchester, iritkatriel, ajoino
2022-02-17 05:54:43gvanrossumsetmessageid: <1645077283.69.0.516029133063.issue46771@roundup.psfhosted.org>
2022-02-17 05:54:43gvanrossumlinkissue46771 messages
2022-02-17 05:54:43gvanrossumcreate