-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Insights: python/mypy
Overview
Could not load contribution data
Please try again later
19 Pull requests merged by 8 people
-
stubtest: get better signatures for
__init__
of C classes#18259 merged
Aug 21, 2025 -
stubtest: do not require @disjoint_base if there are __slots__
#19701 merged
Aug 21, 2025 -
[mypyc] feat: extend stararg fastpath from #19629 with star2 fastpath
#19630 merged
Aug 21, 2025 -
Fail gracefully on unsupported template strings (PEP 750)
#19700 merged
Aug 21, 2025 -
Don't expand PEP 695 aliases when checking node fullnames
#19699 merged
Aug 20, 2025 -
More efficient (fixed-format) serialization
#19668 merged
Aug 19, 2025 -
Implement PEP 800 (@disjoint_base)
#19678 merged
Aug 19, 2025 -
[mypyc] Optimize type(x) and x.__class__
#19691 merged
Aug 19, 2025 -
[mypyc] Specialize bytes.decode calls with common encodings
#19688 merged
Aug 19, 2025 -
Force all deserialized objects to the oldest GC generation
#19681 merged
Aug 19, 2025 -
[mypyc] feat: extend stararg fastpath from #19623 to handle lists and generic sequences
#19629 merged
Aug 18, 2025 -
[mypyc] Add primitive for <type>.__name__
#19683 merged
Aug 18, 2025 -
[mypyc] Speed up "in" against final fixed-length tuple
#19682 merged
Aug 18, 2025 -
[mypyc] Refactor building IR for "in" against a tuple
#19679 merged
Aug 18, 2025 -
Sync typeshed
#19664 merged
Aug 16, 2025 -
Sort arguments in TypedDict overlap error message
#19666 merged
Aug 15, 2025 -
[mypyc] Remove unreachable code
#19667 merged
Aug 15, 2025 -
[mypyc] feat: optimize f-string building from Final values
#19611 merged
Aug 15, 2025 -
fix: prevent false positive "untyped after decorator transformation" after deferral
#19591 merged
Aug 15, 2025
13 Pull requests opened by 7 people
-
[mypyc] feat: new primitives for `bytes.rjust` and `bytes.ljust`
#19672 opened
Aug 16, 2025 -
[mypyc] feat: new primitive for `int.bit_length`
#19673 opened
Aug 16, 2025 -
[mypyc] feat: new primitive for `int.to_bytes`
#19674 opened
Aug 16, 2025 -
[testing]
#19676 opened
Aug 17, 2025 -
[mypyc] feat: exact_dict_rprimitive
#19677 opened
Aug 18, 2025 -
Sync enum members logic in typeanal and checkmember
#19687 opened
Aug 19, 2025 -
Handle more cases in `any_constraints`
#19695 opened
Aug 20, 2025 -
Fix spurious possibly-undefined errors in for-else with break
#19696 opened
Aug 20, 2025 -
fix crash with variadic tuple arguments to generic type
#19705 opened
Aug 21, 2025 -
stubtest: correct "argument" → "parameter" terminology in error messages
#19707 opened
Aug 21, 2025 -
Remove unnecessary error message for match class patterns
#19708 opened
Aug 21, 2025 -
Omit errors for class pattern matches against object
#19709 opened
Aug 21, 2025 -
Use union for captured vars in or pattern
#19710 opened
Aug 21, 2025
9 Issues closed by 5 people
-
Type statement inside class scope not able to reference class generics
#19373 closed
Aug 21, 2025 -
mypy does not error when calling a `TypeAliasType`, if it refers to `dict`
#19698 closed
Aug 20, 2025 -
new generics should be inferred as covariant instead of invariant on frozen dataclasses
#17692 closed
Aug 20, 2025 -
Subtype of mapping is not compatible type in `.update()` method
#10970 closed
Aug 19, 2025 -
Type narrowing fails with isinstance(self, Protocol) when result is stored in a variable
#19684 closed
Aug 18, 2025 -
`a: Type[T]` does not accept parameter of type `TypeAliasType`
#19661 closed
Aug 15, 2025 -
tuple expression gives different result than equivalent `TypeVarTuple` usage.
#19665 closed
Aug 15, 2025 -
function untyped after decorator transformation
#19589 closed
Aug 15, 2025
16 Issues opened by 12 people
-
Odd behavior in DEV version of mypy on `pandas-stubs`
#19711 opened
Aug 21, 2025 -
Type aliases inside dataclass definitions are not supported at runtime inside of if TYPE_CHECKING
#19706 opened
Aug 21, 2025 -
mypy crashes when passing multiple variadic tuples
#19704 opened
Aug 21, 2025 -
MyPy infers descriptors are always ClassVars when testing assignability to protocols
#19702 opened
Aug 21, 2025 -
Remove support for JSON serialization format
#19697 opened
Aug 20, 2025 -
`dataclasses.replace` should be able to return differently-parametrized generic dataclasses
#19694 opened
Aug 19, 2025 -
Implement a check when float-only operations are used
#19693 opened
Aug 19, 2025 -
Incorrect mapping of actual to formal arguments.
#19692 opened
Aug 19, 2025 -
`try: except: continue` inside `for: else:` causes spurious used-before-def
#19690 opened
Aug 19, 2025 -
stubtest crashes on class decorator in overloaded function
#19689 opened
Aug 19, 2025 -
mypy incorrectly infers type of ClassVar when accessed in try/except AttributeError
#19686 opened
Aug 19, 2025 -
Uncaught Error in Assignment of type Iterator[int] to type Iterator[str]
#19675 opened
Aug 17, 2025 -
Type-narrowing based on instance type
#19671 opened
Aug 15, 2025 -
Make enums idempotent
#19669 opened
Aug 15, 2025 -
`mypy` doesn't understand that `*args: P.args` implies that `args` is a `tuple`
#19663 opened
Aug 15, 2025 -
`mypy` fails to correctly understand some iterable type in `*args`
#19662 opened
Aug 15, 2025
40 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Rework starargs with union argument
#19651 commented on
Aug 19, 2025 • 32 new comments -
[mypyc] feat: ForMap generator helper for `builtins.map`
#19649 commented on
Aug 20, 2025 • 11 new comments -
[mypyc] feat: ForFilter generator helper for `builtins.filter`
#19643 commented on
Aug 16, 2025 • 11 new comments -
feat(test): mypyc tests for container creation from `range`
#19511 commented on
Aug 20, 2025 • 7 new comments -
[mypyc] feat: cache len for container creation from expressions with length known at compile time
#19503 commented on
Aug 21, 2025 • 5 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Aug 18, 2025 • 3 new comments -
[mypyc] feat: true_dict_rprimitive for optimized dict fastpath usage
#19499 commented on
Aug 18, 2025 • 2 new comments -
[refactor] Remove code that "disables deprecation warnings about \u"
#19606 commented on
Aug 16, 2025 • 1 new comment -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Aug 20, 2025 • 1 new comment -
[PEP 747] Recognize TypeForm[T] type and values (#9773)
#19596 commented on
Aug 21, 2025 • 0 new comments -
[mypyc] feat: PyObject_CallObject op for fn(*args) fastpath
#19631 commented on
Aug 21, 2025 • 0 new comments -
Special case TypedDict.get
#19639 commented on
Aug 15, 2025 • 0 new comments -
feat: `__repr__` method for RefExpr and NameExpr
#19486 commented on
Aug 21, 2025 • 0 new comments -
Add functools.lru_cache plugin support Fixes #16261
#19432 commented on
Aug 17, 2025 • 0 new comments -
Draft: Solve intermediate variable bug
#19399 commented on
Aug 16, 2025 • 0 new comments -
[mypyc] Implement `str.lower()` and `str.upper()` primitive
#19375 commented on
Aug 21, 2025 • 0 new comments -
Fix inference when unpacking union type
#19650 commented on
Aug 15, 2025 • 0 new comments -
Handle `__hash__ = None` in somewhat more intuitive fashion
#19168 commented on
Aug 15, 2025 • 0 new comments -
Fix/attrs init overload
#19104 commented on
Aug 19, 2025 • 0 new comments -
Enable warn_unreachable = True for `mypyc` and all other files as well
#19050 commented on
Aug 15, 2025 • 0 new comments -
Cannot instantiate type "Type[None]"
#19660 commented on
Aug 15, 2025 • 0 new comments -
Mypy fails to solve `tuple[int, *Ts, int]` as an `Iterable[T]`.
#19659 commented on
Aug 15, 2025 • 0 new comments -
mypy daemon consumes an increasing amount of memory every time `run` or `recheck` is invoked
#19644 commented on
Aug 15, 2025 • 0 new comments -
Can't call get on an empty dict
#17684 commented on
Aug 16, 2025 • 0 new comments -
mypy rejects unpacking into same variable
#14786 commented on
Aug 16, 2025 • 0 new comments -
Type narrowing when list variable is reassigned
#19528 commented on
Aug 17, 2025 • 0 new comments -
functools.partialmethod not supported properly?
#8619 commented on
Aug 17, 2025 • 0 new comments -
'Subclass of "A" and "B" cannot exist: would have incompatible method signatures' is usually wrong
#19377 commented on
Aug 18, 2025 • 0 new comments -
Non-`Enum` base class variables are interpreted as `Enum` instances
#14600 commented on
Aug 19, 2025 • 0 new comments -
Faster cache deserialization
#3456 commented on
Aug 19, 2025 • 0 new comments -
Covariance is not inferred for NamedTuple and frozen Dataclasses
#17623 commented on
Aug 20, 2025 • 0 new comments -
[stubtest] Check `__slots__` better
#13906 commented on
Aug 21, 2025 • 0 new comments -
Match statement parameter binding fails for subclass of generic class
#19442 commented on
Aug 21, 2025 • 0 new comments -
mypy is slow when type checking torch
#17919 commented on
Aug 21, 2025 • 0 new comments -
Lazily process installed packages
#17924 commented on
Aug 21, 2025 • 0 new comments -
Internal error: KeyError 'setter_type' during node deserialization
#19359 commented on
Aug 21, 2025 • 0 new comments -
Regression: dict | None or dict fallback breaks type inference for nested dicts after PR #19249
#19492 commented on
Aug 21, 2025 • 0 new comments -
ABCMeta.register support
#2922 commented on
Aug 21, 2025 • 0 new comments -
Support name mangling
#16715 commented on
Aug 16, 2025 • 0 new comments -
Consider property access from class objects (now for real)
#18969 commented on
Aug 15, 2025 • 0 new comments