```python import enum class Base: def __init__(self, x): print('In Base init') raise ValueError("I don't like", x) class MyEnum(Base, enum.Enum): A = 'a' def __init__(self, y): print('In MyEnum init') self.y = y ``` `MyEnum` should not be created because of the exception in `Base.__init__`. <!-- gh-linked-prs --> ### Linked PRs * gh-103149 * gh-103154 <!-- /gh-linked-prs -->