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 yselivanov
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
Date 2022-02-18.04:54:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645160062.88.0.64962446632.issue46771@roundup.psfhosted.org>
In-reply-to
Content
Couple thoughts:

I'm +1 for adding TaskGroup.cancel() method.

I'd be -1 on abusing `Task.cancel()` to signal something with a nonce. Whatever problem we are trying to solve here, it should be solvable without resorting to hacks like this. It should be trivial to implement simple tracking of whether a child task was cancelled by the group or not to decide on how to handle a rogue CancelledError.
History
Date User Action Args
2022-02-18 04:54:22yselivanovsetrecipients: + yselivanov, gvanrossum, njs, jab, asvetlov, alex.gronholm, chris.jerdonek, tinchester, iritkatriel, ajoino
2022-02-18 04:54:22yselivanovsetmessageid: <1645160062.88.0.64962446632.issue46771@roundup.psfhosted.org>
2022-02-18 04:54:22yselivanovlinkissue46771 messages
2022-02-18 04:54:22yselivanovcreate