Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python/mypy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.18.1
Choose a base ref
...
head repository: python/mypy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.18.2
Choose a head ref
  • 7 commits
  • 8 files changed
  • 4 contributors

Commits on Sep 15, 2025

  1. Fix crash on recursive alias in indirection.py (#19845)

    Fixes #19836
    
    Fix is trivial, I am surprised none of the existing tests caught this in
    the original PR. After this is merged, I am going to add the test to
    `master`.
    ilevkivskyi authored Sep 15, 2025
    Configuration menu
    Copy the full SHA
    7669841 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2025

  1. Configuration menu
    Copy the full SHA
    2f3f03c View commit details
    Browse the repository at this point in the history
  2. stubtest: additional guidance on errors when runtime is object.__init…

    …__ (#19733)
    
    Fixes #19732
    
    This is a simple check to point users in the right direction when they
    get errors because their class uses `__new__` but they wrote stubs for
    `__init__`. I don't feel strongly about the exact wording used here. I
    also considered "Maybe you meant to define `__new__` instead of
    `__init__`?".
    
    (cherry picked from commit 530bdc5)
    tungol authored and KevinRK29 committed Sep 16, 2025
    Configuration menu
    Copy the full SHA
    2c0510c View commit details
    Browse the repository at this point in the history
  3. [mypyc] fix: inappropriate Nones in f-strings (#19846)

    if a variable is Final but the value is not yet known at compile-time,
    and that variable is used as an input to an f-string, the f-string will
    incorrectly contain "None"
    
    Fixes [mypyc#1140](mypyc/mypyc#1140)
    
    (cherry picked from commit dce8e1c)
    BobTheBuidler authored and KevinRK29 committed Sep 16, 2025
    Configuration menu
    Copy the full SHA
    9d794b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca5abf0 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2025

  1. Update changelog for 1.18.2 (#19873)

    Changelog update for 1.18.2
    
    Also updated the changelog to reflect the initial release being 1.18.1,
    since we had to bump the version due to wheels failing.
    
    This adds the cherry picked PRs mentioned in
    #19764 (comment)
    
    (cherry picked from commit 4301be1)
    KevinRK29 committed Sep 18, 2025
    Configuration menu
    Copy the full SHA
    01a7a12 View commit details
    Browse the repository at this point in the history
  2. remove +dev from version

    KevinRK29 committed Sep 18, 2025
    Configuration menu
    Copy the full SHA
    df05f05 View commit details
    Browse the repository at this point in the history
Loading