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 tinchester
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, dreamsorcerer, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
Date 2022-02-20.22:00:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645394437.15.0.830452592311.issue46771@roundup.psfhosted.org>
In-reply-to
Content
@Alex you can follow along here: https://github.com/python/cpython/pull/31394

With the cancel_counter approach, a context manager knows whether to handle or propagate the exception by examining its own local state and the remaining counter on the task. If after uncancelling the counter is still non-zero, it propagates.
History
Date User Action Args
2022-02-20 22:00:37tinchestersetrecipients: + tinchester, gvanrossum, njs, jab, asvetlov, alex.gronholm, chris.jerdonek, yselivanov, iritkatriel, dreamsorcerer, ajoino
2022-02-20 22:00:37tinchestersetmessageid: <1645394437.15.0.830452592311.issue46771@roundup.psfhosted.org>
2022-02-20 22:00:37tinchesterlinkissue46771 messages
2022-02-20 22:00:37tinchestercreate