-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type #32027
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
…s of the specified exception type
Co-authored-by: Éric <merwok@netwok.org>
It occurred to me that the uses of |
I wonder if we should leave the exceptions docs alone and just mention this in https://docs.python.org/3/library/abc.html#abc.ABCMeta in the paragraph where it mentions that super() won't work - we just say that exception matching doesn't either. |
I decided to leave this in the exceptions reference (but to remove it from the tutorial) and add a link to 'abstract base class'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
A small mention there wouldn’t hurt! It’s your call. |
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, @iritkatriel, I could not cleanly backport this to |
Sorry @iritkatriel, I had trouble checking out the |
GH-32034 is a backport of this pull request to the 3.10 branch. |
GH-32035 is a backport of this pull request to the 3.9 branch. |
…s of the specified exception type (pythonGH-32027) (pythonGH-32035) (cherry picked from commit 45833b5)
https://bugs.python.org/issue12029