Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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 orlearn 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:33d1eed
Choose a base ref
Loading
...
head repository:python/mypy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:ea8aacd
Choose a head ref
Loading
  • 3commits
  • 8files changed
  • 1contributor

Commits on May 8, 2025

  1. Consolidate descriptor handling in checkmember.py (#18831)

    This is not a pure refactoring, but almost. Right now we are in a weirdsituation where we have two inconsistencies:* `__set__()` is handled in `checker.py` while `__get__()` is handled in`checkmember.py`* rules for when to use binder are slightly different betweendescriptors and settable properties.This PR fixes these two things. As a nice bonus we should get freesupport for unions in `__set__()`.
    @ilevkivskyi@jhance
    ilevkivskyi authored andjhance committedMay 8, 2025
    Configuration menu
    Copy the full SHA
    3010efcView commit details
    Browse the repository at this point in the history
  2. Local forward refs should precede global forward refs (#19000)

    Fixes#18988This should be a minimal change to restore backwards compatibility foran edge case with forward references.
    @ilevkivskyi@jhance
    ilevkivskyi authored andjhance committedMay 8, 2025
    Configuration menu
    Copy the full SHA
    8e7c094View commit details
    Browse the repository at this point in the history
  3. Do not narrow types to Never with binder (#18972)

    Fixes#18967Fixes#16494Fixes#15793Fixes#12949As you can see from updated test cases, it is kind of gray area, sowhether we go this way will depend on the `mypy_primer` results (andalso potentially on Dropbox internal code bases, where the above issuemay cause problems).
    @ilevkivskyi@jhance
    ilevkivskyi authored andjhance committedMay 8, 2025
    Configuration menu
    Copy the full SHA
    ea8aacdView commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp