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 asvetlov
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, dreamsorcerer, gvanrossum, iritkatriel, jab, njs, serhiy.storchaka, tinchester, yselivanov
Date 2022-03-12.21:08:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647119301.16.0.0430211219302.issue46829@roundup.psfhosted.org>
In-reply-to
Content
If the cancellation message should be kept it needs improvements anyway, the single message doesn't work well with multiple `.cancel()` calls.

I can imagine a 'CancelledError(*msgs)' and 'raise exc.drop_msg(msg)' as a function equivalent of task cancellation counter and `.cancel()` / `.uncancel()` pairing. A similar to MultiError, some sort of.

The counter is easier to understand I guess.

Both multi-message and counter require new APIs, timeout() can be adapted to any solution.
History
Date User Action Args
2022-03-12 21:08:21asvetlovsetrecipients: + asvetlov, gvanrossum, njs, jab, alex.gronholm, chris.jerdonek, serhiy.storchaka, yselivanov, tinchester, iritkatriel, dreamsorcerer, ajoino
2022-03-12 21:08:21asvetlovsetmessageid: <1647119301.16.0.0430211219302.issue46829@roundup.psfhosted.org>
2022-03-12 21:08:21asvetlovlinkissue46829 messages
2022-03-12 21:08:21asvetlovcreate