bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type#32027
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'. |
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