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: 9e72e96
Choose a base ref
...
head repository: python/mypy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 68b8fa0
Choose a head ref
  • 9 commits
  • 22 files changed
  • 4 contributors

Commits on Jun 11, 2025

  1. Bump version to 1.16.1+dev

    JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    9b079f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a4f284 View commit details
    Browse the repository at this point in the history
  3. [mypyc] Fixing condition for handling user-defined __del__ (#19188)

    Fixes #19175.
    
    Conditions for generating and invoking `del` method were not consistent.
    
    As things currently stand, this pull request fixes the crash. However, for classes that derive from Python built-ins, user-defined `__del__` will not be invoked.
    advait-dixit authored and JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    c39f5e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb3c6ec View commit details
    Browse the repository at this point in the history
  5. Tighten metaclass __call__ handling in protocols (#19191)

    Fixes #19184
    
    This fixes an (edge-case) regression introduced in 1.16. Fix is
    straightforward, only ignore `__call__` if it comes from an _actual_
    metaclass.
    ilevkivskyi authored and JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    c86480c View commit details
    Browse the repository at this point in the history
  6. Handle assignment of bound methods in class bodies (#19233)

    Fixes #18438
    Fixes #19146
    
    Surprisingly, a very small change is sufficient to replicate Python
    runtime behavior for all the important cases (see `checkmember.py`). I
    also replace the `bound_args` argument of `CallableType`, that was
    mostly unused, with a flag (as suggested by @JukkaL) and make sure it is
    properly set/preserved everywhere.
    ilevkivskyi authored and JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    c20fd78 View commit details
    Browse the repository at this point in the history
  7. Fix properties with setters after deleters (#19248)

    Fixes #19224
    
    Note we must add an additional attribute on `OverloadedFuncDef` since
    decorator expressions are not serialized.
    ilevkivskyi authored and JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    9fb5ff6 View commit details
    Browse the repository at this point in the history
  8. Single underscore is not a sunder (#19273)

    Fixes #19271.
    A5rocks authored and JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    e253ede View commit details
    Browse the repository at this point in the history
  9. Bump version to 1.16.1

    JukkaL committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    68b8fa0 View commit details
    Browse the repository at this point in the history
Loading