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, dreamsorcerer, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
Date 2022-02-21.00:20:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645402849.47.0.271946853243.issue46771@roundup.psfhosted.org>
In-reply-to
Content
> But, if we are using nonces on the CancelledError to keep track, then only 1 context manager will know if it was themselves or not. This is exactly why I'm proposing to use multiple CancelledErrors, so that every nonce is passed to the handling code.

Raising multiple CancelledErrors is not the only way to accomplish this. We could store the nonces in a single CancelledError instead.
History
Date User Action Args
2022-02-21 00:20:49alex.gronholmsetrecipients: + alex.gronholm, gvanrossum, njs, jab, asvetlov, chris.jerdonek, yselivanov, tinchester, iritkatriel, dreamsorcerer, ajoino
2022-02-21 00:20:49alex.gronholmsetmessageid: <1645402849.47.0.271946853243.issue46771@roundup.psfhosted.org>
2022-02-21 00:20:49alex.gronholmlinkissue46771 messages
2022-02-21 00:20:49alex.gronholmcreate