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: master
Choose a base ref
...
head repository: python/mypy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release-2.4
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 26 files changed
  • 4 contributors

Commits on Sep 29, 2026

  1. Bump librt to 0.16.0 (#22067)

    ilevkivskyi authored and KevinRK29 committed Sep 29, 2026
    Configuration menu
    Copy the full SHA
    b2f9b60 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2026

  1. Quick fix for non UTF-8 encodings with new parser (#22066)

    Fixes #22055
    
    As discussed in the issue. This is not super-principled, but it works,
    and also gives nice standard colorized blocker if the fallback doesn't
    work either.
    
    (cherry picked from commit 1648291)
    ilevkivskyi authored and KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    0617494 View commit details
    Browse the repository at this point in the history
  2. Initial Changelog for Mypy 2.4 (#22071)

    Initial changelog for the latest mypy release
    
    (cherry picked from commit c34b73f)
    KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    04fe42c View commit details
    Browse the repository at this point in the history
  3. Update native parser docs (#22078)

    (cherry picked from commit 051f2c9)
    JukkaL authored and KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    b231182 View commit details
    Browse the repository at this point in the history
  4. Various mypy 2.4 changelog updates (#22077)

    Primarily add overviews to beginnings of various sections.
    
    (cherry picked from commit 5c45130)
    JukkaL authored and KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    541fd87 View commit details
    Browse the repository at this point in the history
  5. Finalize mypy 2.4 changelog (#22080)

    Add a cherry picked commit to the changelog and remove Unreleased along
    with another styling nit
    
    (cherry picked from commit 3ad769c)
    KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    fe69660 View commit details
    Browse the repository at this point in the history
  6. Add link for PR 22066 in mypy 2.4 changelog (#22082)

    Minor fix
    
    (cherry picked from commit 05e50c0)
    KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    334a678 View commit details
    Browse the repository at this point in the history
  7. Bump version to 2.4.0

    KevinRK29 committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    935ba8a View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2026

  1. Bump version to 2.4.1+dev

    KevinRK29 committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    f7d08cf View commit details
    Browse the repository at this point in the history
  2. Bump ast-serialize to 0.12.0 (#22087)

    (cherry picked from commit 7382985)
    ilevkivskyi authored and KevinRK29 committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    350052f View commit details
    Browse the repository at this point in the history
  3. Bump ast-serialize to 0.12.1 (#22093)

    Fixes #22090
    
    (cherry picked from commit d176870)
    ilevkivskyi authored and KevinRK29 committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    10ad5f6 View commit details
    Browse the repository at this point in the history
  4. [mypyc] Skip recursive setup for frame-private nested functions (#22187)

    The recursive setup could cause `AttributeError` at runtime when a
    function contains both a frame-private as well as a captured nested
    function. The setup would add the frame-private function object as an
    attribute to the env class and access it even though it was never
    initialized.
    
    Fix by omitting the recursive setup since it's not needed - a
    frame-private nested function can't call itself.
    
    Also fix possibly inconsistent storage for a redefined nested function
    that is captured in one branch and not captured in another by using
    `original_def` in capture/free variable checks.
    
    (cherry picked from commit a9928e3)
    p-sawicki authored and KevinRK29 committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    9b3e307 View commit details
    Browse the repository at this point in the history
  5. Process overloads as a whole in two-phase type-checking (#22231)

    Fixes #22229
    
    This fixes a regression that can (often) cause false negatives in
    settable properties.
    
    The problem is that we currently may have some part of an overloaded
    function to be scheduled for processing as part of interface, and other
    parts to be processed as parts of implementation. This is especially
    problematic for properties (which are internally stored as overloads). I
    propose to always keep overloads as a whole. It may be marginally slower
    in parallel mode, but much simpler to reason about.
    
    (cherry picked from commit 45992fc)
    ilevkivskyi authored and KevinRK29 committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    2860baa View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2026

  1. Add changelog for Mypy 2.4.1 (#22310)

    (cherry picked from commit 033f958)
    KevinRK29 committed Oct 28, 2026
    Configuration menu
    Copy the full SHA
    d9cbcbc View commit details
    Browse the repository at this point in the history
  2. Finalize version to 2.4.1

    KevinRK29 committed Oct 28, 2026
    Configuration menu
    Copy the full SHA
    cad7794 View commit details
    Browse the repository at this point in the history
  3. Skip test for 2.4.1

    KevinRK29 committed Oct 28, 2026
    Configuration menu
    Copy the full SHA
    ad02a35 View commit details
    Browse the repository at this point in the history
Loading
⌂ Proxy