-
-
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
24 Pull requests merged by 8 people
-
[mypyc] Fix async mypyc tests on Windows
#19578 merged
Aug 4, 2025 -
Fix
--package-root
tests for Windows and Python 3.13+#19583 merged
Aug 4, 2025 -
Sync typeshed
#19585 merged
Aug 4, 2025 -
Do not use dictionary in CallableType
#19580 merged
Aug 4, 2025 -
Remove --new-type-inference flag
#19570 merged
Aug 4, 2025 -
Recognize buffer protocol special methods
#19581 merged
Aug 4, 2025 -
Introduce temporary named expressions for
match
subjects#18446 merged
Aug 3, 2025 -
[mypyc] feat: unwrap NewType types to their base types for optimized code paths
#19497 merged
Aug 3, 2025 -
Interpret bare ClassVar as inferred, not Any
#19573 merged
Aug 3, 2025 -
Support attribute access on enum members correctly
#19422 merged
Aug 3, 2025 -
Follow-up after #19025: test and cleanup
#19294 merged
Aug 3, 2025 -
Check slots assignments on self types
#19332 merged
Aug 3, 2025 -
[docs] Update common_issues.rst: update information about reveal type & locals
#19059 merged
Aug 2, 2025 -
Mention in the Any documentation how object is preferable
#19103 merged
Aug 2, 2025 -
[docs] Update common_issues.rst: mention orjson in the Mypy slow section
#19058 merged
Aug 2, 2025 -
[docs] Include a real listing of the flags strict enables in the online documentation
#19062 merged
Aug 2, 2025 -
[stubtest] Allow runtime-existing aliases of types marked as
@type_check_only
#19568 merged
Aug 2, 2025 -
Add stubtest test for property aliases
#19567 merged
Aug 2, 2025 -
Add internal flag to disable expression cache
#19569 merged
Aug 2, 2025 -
Update crash issue template to use syntax highlighting in code blocks
#19527 merged
Aug 2, 2025 -
Optimize bind_self() and deprecation checks
#19556 merged
Aug 2, 2025 -
fix: prevent crash on dataclass with PEP695 TypeVarTuple on py3.13
#19565 merged
Aug 2, 2025 -
Keep trivial instances and aliases during expansion
#19543 merged
Aug 1, 2025
6 Pull requests opened by 5 people
-
[stubtest] Check runtime availability of private types not marked `@type_check_only`
#19574 opened
Aug 2, 2025 -
Fix TypeGuard with call on temporary object
#19577 opened
Aug 3, 2025 -
[mypyc] Provide instructions for resolving missing test module on Windows
#19579 opened
Aug 3, 2025 -
[mypyc] feat: optimize C code for str.count
#19582 opened
Aug 4, 2025 -
Skip more method bodies in third-party libraries
#19586 opened
Aug 4, 2025 -
Assorted niche optimizations
#19587 opened
Aug 4, 2025
23 Issues closed by 4 people
-
Exhaustive checks with `assert_never` when using `match` on a 2-tuple fails
#16650 closed
Aug 3, 2025 -
match narrowing fails when the operand is an `await` expression
#17230 closed
Aug 3, 2025 -
Type narrowing broken with dict items
#18440 closed
Aug 3, 2025 -
1.16 Release Planning
#18739 closed
Aug 3, 2025 -
1.15 Release Tracking Issue
#18487 closed
Aug 3, 2025 -
[CI]: `mypy-primer(0)` timeout due to long checking of `colour`
#19403 closed
Aug 3, 2025 -
Bare ClassVar should infer type instead of defaulting to Any
#5587 closed
Aug 3, 2025 -
Type of an Enum nonmember is wrong when accessed through a member
#19418 closed
Aug 3, 2025 -
Faulty type inference for `Enum` attributes
#15454 closed
Aug 3, 2025 -
Enum instance type ignored in match/case statements
#13841 closed
Aug 3, 2025 -
Exhaustiveness checking false positives when using `match self` or `match self.value` inside an Enum
#15186 closed
Aug 3, 2025 -
False positive for "Non-overlapping identity check" when comparing Enum variants
#10910 closed
Aug 3, 2025 -
Enum elements accessed via 'self' have 'auto' type
#12107 closed
Aug 3, 2025 -
Enum items are mistyped
#11368 closed
Aug 3, 2025 -
TypeVar with union bound changes return type of `type(t)()`
#18478 closed
Aug 3, 2025 -
Slots not checked if `Self` annotation is present
#19331 closed
Aug 3, 2025 -
(🐞) Invalid per-module options in inline configuration are silently ignored
#12342 closed
Aug 2, 2025 -
Should include a real listing of the flags strict enables in the online documentation.
#19061 closed
Aug 2, 2025 -
Stubtest thinks a property alias isn't read-only in stubs
#19509 closed
Aug 2, 2025 -
Generic dataclass with TypeVarTuple crashes Mypy
#19559 closed
Aug 2, 2025 -
mypy error with generics typing and singledispatch
#19564 closed
Aug 2, 2025 -
func-returns-value check is overly restrictive and prevents legitimate None-returning functions
#19555 closed
Aug 1, 2025 -
crash for a very specific invocation of mypy: `assert isinstance(visitor, SyntheticTypeVisitor)`
#19286 closed
Aug 1, 2025
5 Issues opened by 5 people
-
Self type is not expanded correctly when accessed on a type variable with union bound
#19584 opened
Aug 4, 2025 -
TypeGuard/TypeIs broken on __call__ with fresh class
#19575 opened
Aug 2, 2025 -
Mypy crash on master with property alias with setters
#19572 opened
Aug 2, 2025 -
Type `mypy/config_parser.py` without `Any`
#19566 opened
Aug 2, 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.
-
Fix #19491, crash when using enable_error_code value of wrong type in pyproject.toml
#19494 commented on
Aug 3, 2025 • 4 new comments -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Aug 4, 2025 • 2 new comments -
Improve match statement union narrowing/inference
#17600 commented on
Aug 3, 2025 • 2 new comments -
Update update_data.py: make the space in error comments optional
#19546 commented on
Aug 2, 2025 • 1 new comment -
[mypyc] feat: cache len for iterating over immutable types and expressions with length known at compile time
#19503 commented on
Aug 4, 2025 • 1 new comment -
[mypyc] feat: true_dict_rprimitive for optimized dict fastpath usage
#19499 commented on
Aug 4, 2025 • 1 new comment -
Improve cli help somewhat
#19073 commented on
Aug 3, 2025 • 0 new comments -
Handle `__hash__ = None` in somewhat more intuitive fashion
#19168 commented on
Aug 1, 2025 • 0 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Aug 4, 2025 • 0 new comments -
Do not display import-related errors after module-level always false assert
#19347 commented on
Aug 1, 2025 • 0 new comments -
feat: `__repr__` method for RefExpr and NameExpr
#19486 commented on
Aug 4, 2025 • 0 new comments -
feat(test): mypyc tests for container creation from `range`
#19511 commented on
Aug 4, 2025 • 0 new comments -
feat: index-range err code
#19513 commented on
Aug 4, 2025 • 0 new comments -
[wip] [mypyc] feat: unroll certain for loops with known params
#19518 commented on
Aug 3, 2025 • 0 new comments -
[wip] [mypyc] feat: quasi-constant folding for DictExpr and TupleExpr
#19542 commented on
Aug 3, 2025 • 0 new comments -
Move Windows tests from oldest to newest version
#19545 commented on
Aug 4, 2025 • 0 new comments -
Allow skip and xfail to both be applied to test cases
#19552 commented on
Aug 2, 2025 • 0 new comments -
refactor `visit_conditional_expr` to fix ternary behavior (option 2)
#19562 commented on
Aug 1, 2025 • 0 new comments -
refactor `visit_conditional_expr` to fix ternary behavior (option 1)
#19563 commented on
Aug 1, 2025 • 0 new comments -
Type hint `__lt__` as `(self, other: Self) -> bool` makes mypy think that `__le__` is not supported.
#16711 commented on
Aug 1, 2025 • 0 new comments -
`meet_types` gives unexpected results when meeting literal and Instance
#19560 commented on
Aug 1, 2025 • 0 new comments -
No `TypeVar` variable inference in ternary operators
#18817 commented on
Aug 1, 2025 • 0 new comments -
Irregular inference with ternary based on attribute.
#19561 commented on
Aug 1, 2025 • 0 new comments -
plugin point for `ClassDef`
#18729 commented on
Aug 1, 2025 • 0 new comments -
Type narrowing of `TypeVar` with abstract bases classes causes `[return-value]` error
#19530 commented on
Aug 1, 2025 • 0 new comments -
Multiple extensions using `get_base_class_hook` interfere with each other
#19524 commented on
Aug 1, 2025 • 0 new comments -
Mypyc runtime TypeError exceptions when you change inherited method to a staticmethod
#19558 commented on
Aug 1, 2025 • 0 new comments -
Crash when type variable has same name as an external symbol with an erroneous definition in PEP 695 generic class
#19526 commented on
Aug 3, 2025 • 0 new comments -
Unexpected order dependence when assigning to multiple targets
#19553 commented on
Aug 3, 2025 • 0 new comments -
Mypy/dmypy takes over 16GB of memory
#17105 commented on
Aug 3, 2025 • 0 new comments -
Improve precision of mypy performance tracking
#14358 commented on
Aug 3, 2025 • 0 new comments -
Meta issue tracker, pt 2
#16472 commented on
Aug 3, 2025 • 0 new comments -
Crash when using an invalid 'enable_error_code' value in pyproject.toml
#19491 commented on
Aug 4, 2025 • 0 new comments -
mypy infer incorrect types in frozen dataclass with descriptors as attributes.
#17601 commented on
Aug 4, 2025 • 0 new comments -
[regression] Type narrowing for through `not issubclass(…)` broken for union of TypeVar instance / types in 1.17
#19529 commented on
Aug 4, 2025 • 0 new comments -
PEP 702 (@deprecated): improve the handling of overloaded functions and methods
#18682 commented on
Aug 4, 2025 • 0 new comments -
feat(mypyc): proper weakref support
#19056 commented on
Aug 4, 2025 • 0 new comments