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-1.18
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 16 files changed
  • 7 contributors

Commits on Sep 4, 2025

  1. [stubtest] temporary --ignore-disjoint-bases flag (#19740)

    closes #19737
    ref: #19737 (comment)
    
    ---
    
    It's not the prettiest code, but since it will be removed once PEP 800
    gets accepted (or rejected), I figured it would be best to keep it
    simple, so that we can easily revert it.
    jorenham authored and Kevin Kannammalil committed Sep 4, 2025
    Configuration menu
    Copy the full SHA
    8638eb4 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2025

  1. Make --allow-redefinition-new argument public (#19796)

    It is time to announce this (as still experimental obviously).
    
    (cherry picked from commit d33c147)
    ilevkivskyi authored and Kevin Kannammalil committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    5a323dd View commit details
    Browse the repository at this point in the history
  2. feat: new mypyc primitives for weakref.proxy (#19217)

    This PR adds 2 new weakref primitives for weakref.proxy (1 and 2 arg)
    
    (cherry picked from commit 8f2371a)
    BobTheBuidler authored and Kevin Kannammalil committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    a6b55f0 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2025

  1. [mypyc] Fix subclass processing in detect_undefined_bitmap (#19787)

    Incorrect processing in detect_undefined_bitmap could cause a ValueError
    exception in emit_undefined_attr_check.
    Chainfire authored and KevinRK29 committed Sep 9, 2025
    Configuration menu
    Copy the full SHA
    2ce1bb2 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2025

  1. Expose --fixed-format-cache if compiled (#19815)

    (cherry picked from commit fd05265)
    ilevkivskyi authored and KevinRK29 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    0ca1f2a View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2025

  1. Initial changelog for release 1.18 (#19818)

    (cherry picked from commit 9ae3e9a)
    KevinRK29 committed Sep 11, 2025
    Configuration menu
    Copy the full SHA
    24eed0b View commit details
    Browse the repository at this point in the history
  2. Updates to 1.18 changelog (#19826)

    Did various edits, added a few additional sections, and reordered some
    sections.
    
    (cherry picked from commit 73fa69e)
    JukkaL authored and KevinRK29 committed Sep 11, 2025
    Configuration menu
    Copy the full SHA
    ee61cec View commit details
    Browse the repository at this point in the history
  3. Removed Unreleased in the Changelog for Release 1.18 (#19827)

    Remove Unreleased from section title
    
    (cherry picked from commit f0863a5)
    KevinRK29 committed Sep 11, 2025
    Configuration menu
    Copy the full SHA
    7197a99 View commit details
    Browse the repository at this point in the history
  4. removed +dev from version

    KevinRK29 committed Sep 11, 2025
    Configuration menu
    Copy the full SHA
    b44a1fb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    03fbaa9 View commit details
    Browse the repository at this point in the history

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