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

Released 2.7.0 #294

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Released 2.7.0 #294

merged 1 commit into from
Sep 17, 2024

Conversation

mristin
Copy link
Collaborator

@mristin mristin commented Sep 17, 2024

  • Allowed to enforce invariants on attribute setting (Allowed to enforce invariants on attribute setting #292)

    Originally, we had enforced invariants only at calls to "normal" methods, and excluded __setattr__ since it is usually too expensive to verify invariants whenever setting an attribute.

    However, there are use cases where the users prefer to incur to computational overhead for correctness. To that end, we introduced the feature to steer when the invariants are enforced (at method calls, on setting attributes, or in both situations).

* Allowed to enforce invariants on attribute setting (#292)

  Originally, we had enforced invariants only at calls to "normal"
  methods, and excluded ``__setattr__`` since it is usually too
  expensive to verify invariants whenever setting an attribute.

  However, there are use cases where the users prefer to incur to
  computational overhead for correctness. To that end, we introduced the
  feature to steer when the invariants are enforced (at method calls,
  on setting attributes, or in both situations).
@mristin mristin merged commit 625e797 into master Sep 17, 2024
10 checks passed
@mristin mristin deleted the mristin/Released-2.7.0 branch September 17, 2024 05:56
@coveralls
Copy link

Coverage Status

coverage: 92.929%. remained the same
when pulling 2681d25 on mristin/Released-2.7.0
into 4c0daf9 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.

2 participants