-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-45464: [doc] Explain that subclassing multiple exceptions is frag…
…ile (GH-29094) (GH-29105) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> (cherry picked from commit dff0b71) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
- Loading branch information
1 parent
1249ce7
commit 427ab12
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Misc/NEWS.d/next/Documentation/2021-10-20-16-26-53.bpo-45464.mOISBs.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Mention in the documentation of :ref:`Built-in Exceptions | ||
<bltin-exceptions>` that inheriting from multiple exception types in a | ||
single subclass is not recommended due to possible memory layout | ||
incompatibility. |