-
-
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
21 Pull requests merged by 9 people
-
More detailed checking of type objects in stubtest
#18251 merged
Aug 23, 2025 -
Remove unnecessary error message for match class patterns
#19708 merged
Aug 23, 2025 -
stubtest: handle overloads with mixed pos-only params
#18287 merged
Aug 23, 2025 -
Somewhat better support for isinstance on old-style unions
#19714 merged
Aug 23, 2025 -
Use union for captured vars in or pattern
#19710 merged
Aug 22, 2025 -
stubtest: flag redundant @disjoint_base decorators
#19715 merged
Aug 22, 2025 -
stubtest: correct "argument" → "parameter" terminology in error messages
#19707 merged
Aug 22, 2025 -
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
11 Pull requests opened by 7 people
-
[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 -
Omit errors for class pattern matches against object
#19709 opened
Aug 21, 2025 -
[mypyc] feat: remove redundant box/unbox operations
#19717 opened
Aug 23, 2025 -
`--strict-equality` for `None`
#19718 opened
Aug 23, 2025 -
Support error codes from plugins in options
#19719 opened
Aug 23, 2025 -
Update dependencies
#19720 opened
Aug 24, 2025 -
Revert "Enable colored output for argparse help in Python 3.14 (#19021)"
#19721 opened
Aug 24, 2025
10 Issues closed by 4 people
-
stubtest treats constructors of native types as `(self, *args, **kwargs)`.
#17672 closed
Aug 24, 2025 -
stubtest mishandles overloads where param is pos-only in one overload
#17023 closed
Aug 23, 2025 -
Support typing.Union/typing.Optional in isinstance check (/support old-style unions)
#17680 closed
Aug 23, 2025 -
stubtest nit: arguments vs. parameters
#16508 closed
Aug 22, 2025 -
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
14 Issues opened by 13 people
-
Incorrect error for unions syntax in comments and strings (Python 3.9)
#19722 opened
Aug 24, 2025 -
Spurious type error with async function + generic callable argument + optional return type
#19716 opened
Aug 23, 2025 -
mypy incorrectly infers callable signature when assigning async function to class attribute
#19713 opened
Aug 22, 2025 -
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
37 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.
-
[mypyc] feat: new primitive for `int.to_bytes`
#19674 commented on
Aug 23, 2025 • 11 new comments -
[mypyc] feat: new primitive for `int.bit_length`
#19673 commented on
Aug 23, 2025 • 7 new comments -
Rework starargs with union argument
#19651 commented on
Aug 19, 2025 • 7 new comments -
[mypyc] feat: cache len for container creation from expressions with length known at compile time
#19503 commented on
Aug 23, 2025 • 3 new comments -
[mypyc] feat: ForMap generator helper for `builtins.map`
#19649 commented on
Aug 20, 2025 • 2 new comments -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Aug 23, 2025 • 1 new comment -
'Subclass of "A" and "B" cannot exist: would have incompatible method signatures' is usually wrong
#19377 commented on
Aug 18, 2025 • 0 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Aug 18, 2025 • 0 new comments -
[mypyc] Implement `str.lower()` and `str.upper()` primitive
#19375 commented on
Aug 21, 2025 • 0 new comments -
feat: `__repr__` method for RefExpr and NameExpr
#19486 commented on
Aug 21, 2025 • 0 new comments -
[mypyc] feat: true_dict_rprimitive for optimized dict fastpath usage
#19499 commented on
Aug 18, 2025 • 0 new comments -
feat(test): mypyc tests for container creation from `range`
#19511 commented on
Aug 20, 2025 • 0 new comments -
[stubtest] Check runtime availability of private types not marked `@type_check_only`
#19574 commented on
Aug 23, 2025 • 0 new comments -
[stubtest] Improve checking of positional-only parameters in dunder methods
#19593 commented on
Aug 23, 2025 • 0 new comments -
[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 24, 2025 • 0 new comments -
Fix `--strict-equality` for iteratively visited code
#19635 commented on
Aug 23, 2025 • 0 new comments -
[mypyc] feat: `__mypyc_empty_tuple__` constant
#19654 commented on
Aug 23, 2025 • 0 new comments -
[mypyc] feat: new primitives for `bytes.rjust` and `bytes.ljust`
#19672 commented on
Aug 23, 2025 • 0 new comments -
Uncaught Error in Assignment of type Iterator[int] to type Iterator[str]
#19675 commented on
Aug 18, 2025 • 0 new comments -
`mypy` doesn't understand that `*args: P.args` implies that `args` is a `tuple`
#19663 commented on
Aug 19, 2025 • 0 new comments -
Non-`Enum` base class variables are interpreted as `Enum` instances
#14600 commented on
Aug 19, 2025 • 0 new comments -
Make enums idempotent
#19669 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 -
ABCMeta.register support
#2922 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 22, 2025 • 0 new comments -
Type alias over generic parameter in generic class produces an error
#17956 commented on
Aug 22, 2025 • 0 new comments -
Flag `None` check on value that cannot be `None`
#18386 commented on
Aug 23, 2025 • 0 new comments -
`mypy` 1.7.1 build error on `ppc`: `FATAL: Section too large, can't encode r_address (0x109e874) into 24-bits of scattered relocation entry`
#16684 commented on
Aug 24, 2025 • 0 new comments -
Defer type analysis of integer Literal when builtins.int is slow to resolve
#18046 commented on
Aug 23, 2025 • 0 new comments -
Fix/attrs init overload
#19104 commented on
Aug 19, 2025 • 0 new comments