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 alex.gronholm
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
Date 2022-02-18.10:57:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645181857.84.0.745336356573.issue46771@roundup.psfhosted.org>
In-reply-to
Content
I am also uncomfortable using the cancel message to deliver the token/nonce/whatever.

If TaskGroup.cancel() is implemented, would it also deliver a cancellation in the parent task like trio and AnyIO do? It should IMHO, because otherwise if the task group is cancelled, it could still get stuck waiting on whatever the parent task happens to be waiting on, if it's not at TaskGroup.__aexit__() yet.
History
Date User Action Args
2022-02-18 10:57:37alex.gronholmsetrecipients: + alex.gronholm, gvanrossum, njs, jab, asvetlov, chris.jerdonek, yselivanov, tinchester, iritkatriel, ajoino
2022-02-18 10:57:37alex.gronholmsetmessageid: <1645181857.84.0.745336356573.issue46771@roundup.psfhosted.org>
2022-02-18 10:57:37alex.gronholmlinkissue46771 messages
2022-02-18 10:57:37alex.gronholmcreate