Message413466
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. |
|
Date |
User |
Action |
Args |
2022-02-18 04:54:22 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, njs, jab, asvetlov, alex.gronholm, chris.jerdonek, tinchester, iritkatriel, ajoino |
2022-02-18 04:54:22 | yselivanov | set | messageid: <1645160062.88.0.64962446632.issue46771@roundup.psfhosted.org> |
2022-02-18 04:54:22 | yselivanov | link | issue46771 messages |
2022-02-18 04:54:22 | yselivanov | create | |
|