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

Prevent inadvertent attribute assignment in Quantity #1124

Merged
merged 1 commit into from
Oct 19, 2021

Commits on Oct 19, 2021

  1. [Python] Prevent inadvertent attribute assignment in Quantity

    Add a '__slots__' definition to the Quantity class so trying to
    set the state using a property that doesn't exist for a particular
    phase model (e.g. HPQ) will not fail silently.
    
    Fixes Cantera#1093
    speth committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    94f3274 View commit details
    Browse the repository at this point in the history