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

Sync typeshed #14902

Merged
merged 6 commits into from
Mar 15, 2023
Merged

Sync typeshed #14902

merged 6 commits into from
Mar 15, 2023

Commits on Mar 15, 2023

  1. Sync typeshed

    AlexWaygood committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    c0d32fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3127a6 View commit details
    Browse the repository at this point in the history
  3. Revert sum literal integer change (python#13961)

    This is allegedly causing large performance problems, see 13821
    
    typeshed/8231 had zero hits on mypy_primer, so it's not the worst thing
    to undo. Patching this in typeshed also feels weird, since there's a
    more general soundness issue. If a typevar has a bound or constraint, we
    might not want to solve it to a Literal.
    
    If we can confirm the performance regression or fix the unsoundness
    within mypy, I might pursue upstreaming this in typeshed.
    
    (Reminder: add this to the sync_typeshed script once merged)
    hauntsaninja authored and AlexWaygood committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    1458891 View commit details
    Browse the repository at this point in the history
  4. Revert typeshed ctypes change (python#14128)

    Since the plugin provides superior type checking:
    python#13987 (comment)
    hauntsaninja authored and AlexWaygood committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    a8db537 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1a82df View commit details
    Browse the repository at this point in the history
  6. Fix tests

    AlexWaygood committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    1ab6232 View commit details
    Browse the repository at this point in the history