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 to enforce invariants on attribute setting #292

Merged
merged 3 commits into from
Sep 17, 2024

Commits on Jul 5, 2024

  1. Allowed to enforce invariants on attribute setting

    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 in this patch to steer when the invariants are enforced (at
    method calls, on setting attributes, or in both situations).
    
    Fixes #291.
    mristin committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9212d87 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    68d9d30 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    cd43b14 View commit details
    Browse the repository at this point in the history