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.

作者 alex.gronholm
收信人 ajoino, alex.gronholm, asvetlov, chris.jerdonek, dreamsorcerer, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
日期 2022-02-21.00:20:49
SpamBayes Score -1.0
Marked as misclassified
Message-id <1645402849.47.0.271946853243.issue46771@roundup.psfhosted.org>
In-reply-to
内容
> 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.
历史
日期 用户 动作 参数
2022-02-21 00:20:49alex.gronholm修改recipients: + alex.gronholm, gvanrossum, njs, jab, asvetlov, chris.jerdonek, yselivanov, tinchester, iritkatriel, dreamsorcerer, ajoino
2022-02-21 00:20:49alex.gronholm修改messageid: <1645402849.47.0.271946853243.issue46771@roundup.psfhosted.org>
2022-02-21 00:20:49alex.gronholm链接issue46771 messages
2022-02-21 00:20:49alex.gronholm创建