Christian Heimes <li...@cheimes.de> added the comment:

You are correct. To be more precise, it's caused by GH-16856. The commit 
introduced PyAttributeErrorObject struct. Since AttributeError and OSError now 
have an incompatible memory layout, it is no longer possible to create a 
subclass that has AttributeError and OSError as parent classes.

----------
keywords: +3.10regression
nosy: +christian.heimes
versions: +Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45464>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to