Author pablogsal
Recipients christian.heimes, marmarek, pablogsal
Date 2021-10-14.16:52:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634230378.87.0.816554603767.issue45464@roundup.psfhosted.org>
In-reply-to
Content
Also, just to clarify something: there is no guarantee that multiple build-in, unrelated exceptions can be inherited and this is not supported. And this is not unique to this case. For example:

>>> class A(StopIteration, OSError):
...    ...
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: multiple bases have instance lay-out conflict

>>> class A(SyntaxError, OSError):
...    pass
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: multiple bases have instance lay-out conflict
>>> class A(ModuleNotFoundError, OSError):
...    ...
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: multiple bases have instance lay-out conflict
History
Date User Action Args
2021-10-14 16:52:58pablogsalsetrecipients: + pablogsal, christian.heimes, marmarek
2021-10-14 16:52:58pablogsalsetmessageid: <1634230378.87.0.816554603767.issue45464@roundup.psfhosted.org>
2021-10-14 16:52:58pablogsallinkissue45464 messages
2021-10-14 16:52:58pablogsalcreate