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

Do not issue deprecation warnings during import #244

Commits on Nov 30, 2021

  1. Do not issue deprecation warnings during import

    Prior to this change, the `Unit` enum would issue a deprecation warning
    during import when its `__dict__` was accessed. This is not correct: the
    warning should only be issued if the enum is actually accessed.
    
    This change ensures that no deprecation warnings are issued by the enum
    during import.
    samueljsb committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    ae7681e View commit details
    Browse the repository at this point in the history