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

builtins: rename _LT #4579

Merged
merged 1 commit into from
Sep 26, 2020
Merged

builtins: rename _LT #4579

merged 1 commit into from
Sep 26, 2020

Commits on Sep 26, 2020

  1. builtins: rename _LT

    Having an obscure type variable name is causing some pretty inscrutable
    errors. For instance:
    ```
    xarray/core/utils.py:466: error: Value of type variable "_LT" of "sorted" cannot be "K"
    tornado/simple_httpclient.py:324: error: Value of type variable "_LT" of "min" cannot be "Optional[float]"
    ```
    
    I think having a more descriptive type variable name here is better for
    user experience and helps address the "why" of an error.
    hauntsaninja committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    924908b View commit details
    Browse the repository at this point in the history