Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.9k
Comparing changes
Open a pull request
base repository:python/mypy
Uh oh!
There was an error while loading.Please reload this page.
base:master
head repository:python/mypy
Uh oh!
There was an error while loading.Please reload this page.
compare:release-1.16
Uh oh!
There was an error while loading.Please reload this page.
- 8commits
- 3files changed
- 4contributors
Commits on May 8, 2025
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__()`.
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.
Commits on May 12, 2025
Fix crash on multiple unpacks in a bare type application (#18857)
Fixes#18856. This should be done by `TypeAnalyzer.anal_array` but isnot - semanal only invokes its own wrapper around `anal_type`---------Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Commits on May 23, 2025
Commits on May 27, 2025
Document --allow-redefinition-new (#19153)
The feature was introduced in#18727.
JukkaL committedMay 27, 2025 [mypyc] Improve documentation of native and non-native classes (#19154)
Also discuss `mypyc_attr(native_class=<...>)`.
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff master...release-1.16
Uh oh!
There was an error while loading.Please reload this page.