-
-
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 10 people
-
chore: homogenize TypeGuard usage in rtypes.py
#19655 merged
Aug 14, 2025 -
[mypyc] feat: cache len for iterating over immutable types
#19656 merged
Aug 14, 2025 -
[mypyc] feat: stararg fastpath when calling fn(*args) with tuple
#19623 merged
Aug 13, 2025 -
[mypyc] Include more operations in the trace log
#19647 merged
Aug 13, 2025 -
[mypyc] Fix remaining failing test on free-threaded builds
#19646 merged
Aug 13, 2025 -
Special-case enum method calls
#19634 merged
Aug 12, 2025 -
Another two micro-optimizations
#19633 merged
Aug 11, 2025 -
[mypyc] Add prefix to attributes of generator classes
#19535 merged
Aug 11, 2025 -
PEP 702 (@deprecated): handle "combined" overloads
#19626 merged
Aug 10, 2025 -
[mypyc] Fix seg fault due to heap type objects with static tp_doc
#19636 merged
Aug 10, 2025 -
Two more micro-optimizations
#19627 merged
Aug 9, 2025 -
Cache common instances
#19621 merged
Aug 9, 2025 -
Further fix overload diagnostic for vararg and varkwarg
#19619 merged
Aug 9, 2025 -
[mypyc] Provide instructions for resolving missing test module on Windows
#19579 merged
Aug 9, 2025 -
Fix crash on settable property alias
#19615 merged
Aug 8, 2025 -
PEP 702 (@deprecated): consider overloads in snapshot descriptions
#19613 merged
Aug 8, 2025 -
Fix overload diagnostic when vararg and varkwarg can match
#19614 merged
Aug 8, 2025 -
Fix TypeGuard with call on temporary object
#19577 merged
Aug 8, 2025 -
Fix #19491, crash when using enable_error_code value of wrong type in pyproject.toml
#19494 merged
Aug 8, 2025
19 Pull requests opened by 8 people
-
feat: proper narrowing for TypedDict keys and values
#19610 opened
Aug 7, 2025 -
[mypyc] feat: optimize f-string building from Final values
#19611 opened
Aug 7, 2025 -
Make IntEnum/StrEnum values passable to functions expecting literal ints or strs
#19617 opened
Aug 8, 2025 -
[mypyc] feat: extend stararg fastpath from #19623 to handle lists and generic sequences
#19629 opened
Aug 9, 2025 -
[mypyc] feat: extend stararg fastpath from #19629 with star2 fastpath
#19630 opened
Aug 9, 2025 -
[mypyc] feat: PyObject_CallObject op for fn(*args) fastpath
#19631 opened
Aug 9, 2025 -
Fix `--strict-equality` for iteratively visited code
#19635 opened
Aug 10, 2025 -
Remove the Anys from mypy/config_parser.py
#19637 opened
Aug 10, 2025 -
[refactor] increase consistency in stdout and stderr optional arguments
#19638 opened
Aug 10, 2025 -
Special case TypedDict.get
#19639 opened
Aug 11, 2025 -
Reset to previous statement when leaving `return` in semanal
#19642 opened
Aug 11, 2025 -
[mypyc] feat: ForFilter generator helper for `builtins.filter`
#19643 opened
Aug 12, 2025 -
Include `ambiguous` into `UninhabitedType` identity
#19648 opened
Aug 12, 2025 -
[mypyc] feat: ForMap generator helper for `builtins.map`
#19649 opened
Aug 12, 2025 -
Fix inference when unpacking union type
#19650 opened
Aug 12, 2025 -
Rework starargs with union argument
#19651 opened
Aug 13, 2025 -
Always try to report missing protocol members
#19653 opened
Aug 13, 2025 -
[mypyc] feat: `__mypyc_empty_tuple__` constant
#19654 opened
Aug 14, 2025 -
[mypyc] feat: exact_dict_set_item_op
#19657 opened
Aug 14, 2025
8 Issues closed by 3 people
-
Mypy configuration is incomplete
#19429 closed
Aug 9, 2025 -
MyPy does not recognize methods as `MethodType`, only as `Callable`
#19620 closed
Aug 9, 2025 -
Mypy crash on master with property alias with setters
#19572 closed
Aug 8, 2025 -
False positive on overload implementation does not accept all possible arguments with varargs
#19612 closed
Aug 8, 2025 -
Incorrect handling of overloads with `defaultdict` and `MutableMapping`
#19525 closed
Aug 8, 2025 -
TypeGuard/TypeIs broken on __call__ with fresh class
#19575 closed
Aug 8, 2025 -
Crash when using an invalid 'enable_error_code' value in pyproject.toml
#19491 closed
Aug 8, 2025
13 Issues opened by 9 people
-
Cannot instantiate type "Type[None]"
#19660 opened
Aug 14, 2025 -
Maybe fails to solve `tuple[int, *Ts, int]` as an `Iterable[T]`.
#19659 opened
Aug 14, 2025 -
`NamedTuple` parametrized with a `ParamSpec` can't be used as an annotation
#19658 opened
Aug 14, 2025 -
Unclear when Join is picked vs Union in upcast operation.
#19652 opened
Aug 13, 2025 -
mypy daemon consumes an increasing amount of memory every time `run` or `recheck` is invoked
#19644 opened
Aug 12, 2025 -
Mypy thinks `dict[Never, Never]` is a subtype of `Mapping[str, object]`
#19641 opened
Aug 11, 2025 -
Type alias and union wrong revealed type
#19640 opened
Aug 11, 2025 -
`name-defined` is whitespace-dependent
#19632 opened
Aug 9, 2025 -
Specify behavior for `Literal?` types.
#19625 opened
Aug 9, 2025 -
Severe performance degradation with lots of constrained type variables in a generic class
#19622 opened
Aug 9, 2025 -
unexpected "var-annotated" when using constrained TypeVar
#19618 opened
Aug 8, 2025 -
MyIntEnum.ONE should be passable to functions expecting Literal[1] arguments
#19616 opened
Aug 8, 2025 -
Wrong inference for `abs/__abs__` or function that calls a method on a generic type.
#19609 opened
Aug 7, 2025
31 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: true_dict_rprimitive for optimized dict fastpath usage
#19499 commented on
Aug 14, 2025 • 7 new comments -
[refactor] Remove code that "disables deprecation warnings about \u"
#19606 commented on
Aug 7, 2025 • 0 new comments -
Fix `meet_types` for literal and instance
#19605 commented on
Aug 11, 2025 • 0 new comments -
Better support for `SomeEnum.item == some_literal`
#19594 commented on
Aug 8, 2025 • 0 new comments -
[stubtest] Check runtime availability of private types not marked `@type_check_only`
#19574 commented on
Aug 8, 2025 • 0 new comments -
refactor `visit_conditional_expr` to fix ternary behavior (option 1)
#19563 commented on
Aug 12, 2025 • 0 new comments -
[match-case] Fix narrowing of class pattern with union-argument.
#19517 commented on
Aug 12, 2025 • 0 new comments -
feat(test): mypyc tests for container creation from `range`
#19511 commented on
Aug 13, 2025 • 0 new comments -
[mypyc] feat: cache len for iterating over immutable types and expressions with length known at compile time
#19503 commented on
Aug 13, 2025 • 0 new comments -
feat: `__repr__` method for RefExpr and NameExpr
#19486 commented on
Aug 13, 2025 • 0 new comments -
Apply union expansion when checking ops involving typevars
#19455 commented on
Aug 8, 2025 • 0 new comments -
Try to fix problems caused by in-place modification of typevar defaults
#19382 commented on
Aug 8, 2025 • 0 new comments -
Do not display import-related errors after module-level always false assert
#19347 commented on
Aug 8, 2025 • 0 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Aug 13, 2025 • 0 new comments -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Aug 13, 2025 • 0 new comments -
feat(mypyc): proper weakref support
#19056 commented on
Aug 7, 2025 • 0 new comments -
Allow any type to be returned by `__new__`
#14471 commented on
Aug 9, 2025 • 0 new comments -
Unable to specify a default value for a generic parameter
#3737 commented on
Aug 13, 2025 • 0 new comments -
Type narrowing for a tuple is worse with match than with the equivalent isinstance check
#19082 commented on
Aug 13, 2025 • 0 new comments -
Type narrowing for dict.get("key") is not None
#14766 commented on
Aug 11, 2025 • 0 new comments -
Support a method of copying function signature
#10574 commented on
Aug 10, 2025 • 0 new comments -
Announcement issue for plugin API changes
#6617 commented on
Aug 9, 2025 • 0 new comments -
`meet_types` gives unexpected results when meeting literal and Instance
#19560 commented on
Aug 9, 2025 • 0 new comments -
Internal error: De-serialization failure: `TypeInfo` not fixed
#18087 commented on
Aug 8, 2025 • 0 new comments -
segfault on recursive generic function class
#18219 commented on
Aug 8, 2025 • 0 new comments -
For tuple in match, _ isn't determined to be Never, but _, _ is
#18792 commented on
Aug 8, 2025 • 0 new comments -
TypeGuard behavior does not match python semantics in async functions
#19608 commented on
Aug 7, 2025 • 0 new comments -
`Final` nested inside `ClassVar` results in `Any`
#19607 commented on
Aug 7, 2025 • 0 new comments -
False positive - Type narrowing of class attributes
#17537 commented on
Aug 7, 2025 • 0 new comments -
Run without module detection logic
#10428 commented on
Aug 7, 2025 • 0 new comments -
join is not always symmetric
#19551 commented on
Aug 7, 2025 • 0 new comments