-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-119287: clarify doc on BaseExceptionGroup.derive and lin 8000 k to it from contextlib.suppress #119657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… it from contextlib.suppress
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12, 3.13. |
… it from contextlib.suppress (pythonGH-119657) (cherry picked from commit 5c02ea8) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
GH-120105 is a backport of this pull request to the 3.13 branch. |
… it from contextlib.suppress (pythonGH-119657) (cherry picked from commit 5c02ea8) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Sorry, @iritkatriel, I could not cleanly backport this to
|
GH-120106 is a backport of this pull request to the 3.12 branch. |
context lib was only changed in 3.12, so this is actually not relevant to 3.11. |
… it from contextlib.suppress (python#119657)
… it from contextlib.suppress (python#119657)
… it from contextlib.suppress (python#119657)
Fixes #119287.
contextlib.suppress
converts instances of a subtype ofExceptionGroup
to an instance of theExceptionGroup
class #119287📚 Documentation preview 📚: https://cpython-previews--119657.org.readthedocs.build/