Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed __new__ to tighten pre-conditions #211

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

mristin
Copy link
Collaborator

@mristin mristin commented Apr 23, 2021

We need to handle __new__ diffrently from other functions as it is a
constructor. Hence it does not relate directly to the class hierarchy
and can define its own pre- and post-conditions.

We need to handle `__new__` diffrently from other functions as it is a
constructor. Hence it does not relate directly to the class hierarchy
and can define its own pre- and post-conditions.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 93.908% when pulling 4fd7b52 on mristin/Allowed-new-to-specify-preconditions into eb0b401 on master.

@mristin mristin merged commit 26b0481 into master Apr 23, 2021
@mristin mristin deleted the mristin/Allowed-new-to-specify-preconditions branch April 23, 2021 16:35
mristin added a commit that referenced this pull request Apr 23, 2021
* Allowed `__new__` to tighten pre-conditions (#211)
* Fixed recomputation of calls in generator expr (#210)
* Added better reporting on recompute failure (#207)
@mristin mristin mentioned this pull request Apr 23, 2021
mristin added a commit that referenced this pull request Apr 23, 2021
* Allowed `__new__` to tighten pre-conditions (#211)
* Fixed recomputation of calls in generator expr (#210)
* Added better reporting on recompute failure (#207)
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.

None yet

2 participants