Skip to content

Conversation

@mristin
Copy link
Collaborator

@mristin mristin commented Nov 8, 2025

This is a critical bugfix patch version. Previously, we determined the invariants based on the self passed to the function. However, in case of super().__init__, the invariants that need to be checked after the call are those belonging to to the super class, not the current (child) class. This lead to erroneous invariant checks, where the invariants of the child class where checked after the super-init call in the parent class.

* Fix child invariants checked in ``super().__init__`` (#301)
* Support Python 3.13 (#309)
* Add support for Python 3.12 (#308)

This is a critical bugfix patch version. Previously, we determined
the invariants based on the ``self`` passed to the function. However,
in case of ``super().__init__``, the invariants that need to be checked
after the call are those belonging to to the super class, not
the current (child) class. This lead to erroneous invariant checks, where
the invariants of the child class where checked after the super-init call
in the parent class.
@mristin mristin merged commit deadc55 into master Nov 8, 2025
13 checks passed
@mristin mristin deleted the mristin/Release-2.7.2 branch November 8, 2025 09:33
@coveralls
Copy link

Coverage Status

coverage: 91.579%. remained the same
when pulling 8d104c2 on mristin/Release-2.7.2
into 44fbab4 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants