-
-
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
102 Pull requests merged by 18 people
-
Fix dict assignment to a wider context containing an incompatible typeddict of the same shape
#19592 merged
Aug 5, 2025 -
[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 -
feat: new mypyc primitive for weakref.ref
#19099 merged
Jul 31, 2025 -
Explicitly check case‐sensitivity of file system for tests
#19540 merged
Jul 31, 2025 -
Update changelog for 1.17.1
#19550 merged
Jul 31, 2025 -
Update test requirements
#19539 merged
Jul 30, 2025 -
[mypyc] Enable free threading when compiling multiple modules
#19541 merged
Jul 30, 2025 -
[mypyc] Make type objects immortal if using free threading
#19538 merged
Jul 30, 2025 -
Use cache for DictExpr as well
#19536 merged
Jul 30, 2025 -
Use cache for OpExpr
#19523 merged
Jul 29, 2025 -
perf: deduplicate
fast_container_type
andfast_dict_type
items before joining#19409 merged
Jul 29, 2025 -
Move self argument checks to a later phase - after decorator application, if any
#19490 merged
Jul 28, 2025 -
Try simple-minded call expression cache
#19505 merged
Jul 28, 2025 -
[mypyc] Fix list.pop primitive on free-threaded builds
#19522 merged
Jul 28, 2025 -
[mypyc] Only generate an export table if using separate compilation
#19521 merged
Jul 28, 2025 -
Various minor docstring and comment updates
#19519 merged
Jul 28, 2025 -
Cache type_object_type()
#19514 merged
Jul 27, 2025 -
Fix #19507 Prevent final reassignment in match case
#19496 merged
Jul 27, 2025 -
Avoid duplicate visit in check_boolean_op()
#19515 merged
Jul 26, 2025 -
docs: update cython and setuptools RTD URLs
#19512 merged
Jul 26, 2025 -
Optimize generic inference passes
#19501 merged
Jul 25, 2025 -
Use normalized tuples for fallback calculation
#19111 merged
Jul 22, 2025 -
Fix decorated methods with self-types in protocols
#19484 merged
Jul 21, 2025 -
Retain
None
as constraints bottom if no bottoms were provided#19485 merged
Jul 21, 2025 -
Fix "ignored exception in
hasattr
" in dmypy#19428 merged
Jul 18, 2025 -
Uninhabited should have all attributes
#19300 merged
Jul 18, 2025 -
Micro-optimize type indirection visitor
#19460 merged
Jul 18, 2025 -
[mypyc] Add script to compile mypy with trace logging and run mypy
#19475 merged
Jul 17, 2025 -
Micro-optimize TypeTraverserVisitor
#19459 merged
Jul 17, 2025 -
Micro-optimize chained plugin
#19464 merged
Jul 17, 2025 -
Micro-optimize ExpandTypeVisitor
#19461 merged
Jul 17, 2025 -
Micro-optimization: Avoid temporary set creation in is_proper_subtype
#19463 merged
Jul 16, 2025 -
Speed up the default plugin
#19462 merged
Jul 16, 2025 -
perf: return from
is_subtype
early#19400 merged
Jul 16, 2025 -
[mypyc] Optionally log a sampled operation trace to a file
#19457 merged
Jul 16, 2025 -
[mypyc] Report error when registering a nested function
#19450 merged
Jul 16, 2025 -
Sync typeshed
#19446 merged
Jul 16, 2025 -
Prevent a crash when InitVar is redefined with a method in a subclass
#19453 merged
Jul 16, 2025 -
[mypyc] Refactor: make LoadMem not borrow by default
#19445 merged
Jul 15, 2025 -
[mypyc] Add primitives for isinstance of built-in types
#19435 merged
Jul 15, 2025 -
[mypyc] Add SetElement op for initializing struct values
#19437 merged
Jul 15, 2025 -
Updates to 1.17 changelog
#19436 merged
Jul 14, 2025 -
Initial changelog for 1.17 release
#19427 merged
Jul 14, 2025 -
[mypyc] Simplify IR generated for "for" loops over strings
#19434 merged
Jul 14, 2025 -
[mypyc] Use native integers for some sequence indexing operations
#19426 merged
Jul 11, 2025 -
[mypyc] Remove the unused CPyList_GetItemUnsafe primitive
#19424 merged
Jul 11, 2025 -
[mypyc] Add a few native int helper irbuilder methods
#19423 merged
Jul 11, 2025 -
Allow adjacent conditionally-defined overloads
#19042 merged
Jul 11, 2025 -
[mypyc] Add back test for next with list iterator
#19419 merged
Jul 11, 2025 -
[mypyc] Fail run test if default driver does not find test cases
#19420 merged
Jul 11, 2025 -
Move
is_defined_in_stub
to shared checker API to break import cycle#19417 merged
Jul 10, 2025 -
[mypyc] Fix exception swallowing in async try/finally blocks with await
#19353 merged
Jul 10, 2025 -
[mypyc] Use PyList_Check for isinstance(obj, list)
#19416 merged
Jul 9, 2025 -
Infer empty list without annotation for
__slots__
and module__all__
#19348 merged
Jul 9, 2025 -
Support
_value_
as a fallback for ellipsis Enum members#19352 merged
Jul 9, 2025 -
More shards for
mypy-primer
#19405 merged
Jul 9, 2025 -
[mypyc] Speed up for loop over native generator
#19415 merged
Jul 9, 2025 -
feat: add helpful info to internal AssertionError excs
#19404 merged
Jul 9, 2025 -
[mypyc] Report error on reserved method name
#19407 merged
Jul 9, 2025 -
[mypyc] Add is_bool_or_bit_rprimitive
#19406 merged
Jul 9, 2025 -
[mypyc] Add faster primitive for string equality
#19402 merged
Jul 9, 2025 -
[mypyc] Speed up native-to-native calls using await
#19398 merged
Jul 8, 2025 -
[mypyc] Add tests for string equality
#19401 merged
Jul 8, 2025 -
[mypyc] Raise NameError on undefined names
#19395 merged
Jul 8, 2025 -
[mypyc] Simplify comparison of tuple elements
#19396 merged
Jul 8, 2025 -
perf: add
__slots__
toSubtypeVisitor
#19394 merged
Jul 7, 2025 -
Improve the support for promotions inside unions.
#19245 merged
Jul 7, 2025 -
[mypyc] Use per-type free "lists" for nested functions
#19390 merged
Jul 7, 2025 -
[mypyc] Call generator helper method directly in await expression
#19376 merged
Jul 7, 2025 -
[mypyc] Generate introspection signatures for compiled functions
#19307 merged
Jul 7, 2025 -
[mypyc] Add support for C string literals in the IR
#19383 merged
Jul 7, 2025 -
[mypyc] Fix error value check for GetAttr that allows nullable values
#19378 merged
Jul 7, 2025 -
Check property decorators stricter
#19313 merged
Jul 7, 2025 -
Remove all nested imports from default plugin
#19388 merged
Jul 7, 2025 -
Combine the revealed types of multiple iteration steps in a more robust manner.
#19324 merged
Jul 7, 2025 -
Speed up the default plugin
#19385 merged
Jul 7, 2025 -
Lessen dmypy suggest path limitations for Windows machines
#19337 merged
Jul 7, 2025 -
Subtype checking micro-optimization
#19384 merged
Jul 6, 2025 -
Support type checking code fragment in profile script
#19379 merged
Jul 5, 2025
40 Pull requests opened by 16 people
-
Enable --pretty by default
#19380 opened
Jul 5, 2025 -
Try to fix problems caused by in-place modification of typevar defaults
#19382 opened
Jul 5, 2025 -
Feature: Clear type info on del for local inferred variables (fixes #10005)
#19386 opened
Jul 6, 2025 -
[pre-commit.ci] pre-commit autoupdate
#19393 opened
Jul 7, 2025 -
Draft: Solve intermediate variable bug
#19399 opened
Jul 8, 2025 -
feat(overloads): Expand finite sum types into a union of possible types
#19431 opened
Jul 13, 2025 -
Add functools.lru_cache plugin support Fixes #16261
#19432 opened
Jul 13, 2025 -
[PEP 696] Fix swapping TypeVars with defaults.
#19449 opened
Jul 15, 2025 -
Apply union expansion when checking ops involving typevars
#19455 opened
Jul 16, 2025 -
[PEP 695] Fix incorrect Variance Computation with Polymorphic Methods.
#19466 opened
Jul 16, 2025 -
[match-case] fix matching against `typing.Callable` and `Protocol` types.
#19471 opened
Jul 17, 2025 -
[match-case] Fix narrowing of class pattern with union-argument.
#19473 opened
Jul 17, 2025 -
Add `collections._tuplegetter` support
#19479 opened
Jul 19, 2025 -
feat: `__repr__` method for RefExpr and NameExpr
#19486 opened
Jul 21, 2025 -
Fix #19491, crash when using enable_error_code value of wrong type in pyproject.toml
#19494 opened
Jul 24, 2025 -
[mypyc] feat: true_dict_rprimitive for optimized dict fastpath usage
#19499 opened
Jul 24, 2025 -
[mypyc] feat: cache len for iterating over immutable types and expressions with length known at compile time
#19503 opened
Jul 25, 2025 -
Enable pretty by default
#19510 opened
Jul 25, 2025 -
feat(test): mypyc tests for container creation from `range`
#19511 opened
Jul 25, 2025 -
feat: index-range err code
#19513 opened
Jul 26, 2025 -
[match-case] Fix narrowing of class pattern with union-argument.
#19517 opened
Jul 27, 2025 -
[wip] [mypyc] feat: unroll certain for loops with known params
#19518 opened
Jul 28, 2025 -
[mypyc] Add prefix to attributes of generator classes
#19535 opened
Jul 29, 2025 -
[wip] [mypyc] feat: quasi-constant folding for DictExpr and TupleExpr
#19542 opened
Jul 30, 2025 -
Move Windows tests from oldest to newest version
#19545 opened
Jul 30, 2025 -
Update update_data.py: make the space in error comments optional
#19546 opened
Jul 30, 2025 -
Document mypy exit codes
#19549 opened
Jul 31, 2025 -
Allow skip and xfail to both be applied to test cases
#19552 opened
Jul 31, 2025 -
refactor `visit_conditional_expr` to fix ternary behavior (option 2)
#19562 opened
Aug 1, 2025 -
refactor `visit_conditional_expr` to fix ternary behavior (option 1)
#19563 opened
Aug 1, 2025 -
[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 -
fix: prevent false positive "untyped after decorator transformation" after deferral
#19591 opened
Aug 4, 2025 -
[stubtest] Improve checking of positional-only parameters in dunder methods
#19593 opened
Aug 4, 2025 -
Better support for `SomeEnum.item == some_literal`
#19594 opened
Aug 4, 2025
75 Issues closed by 16 people
-
Overloaded deprecated __init__ method use is not reported
#19588 closed
Aug 5, 2025 -
Upcasting causes incompatible types in assignment with `TypedDict`
#14991 closed
Aug 5, 2025 -
Unexpected error when assigning dict literal to union containing TypedDict
#19590 closed
Aug 5, 2025 -
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 -
1.15.0 regression: `list.append` false positive with `Signals` enum
#18628 closed
Jul 31, 2025 -
[docs] Update Code Conventions to reflect the switch from flake8 to ruff
#19498 closed
Jul 31, 2025 -
Mypy errors out for deeply nested dictionaries
#14636 closed
Jul 30, 2025 -
Wildly inconsistent performance for seemingly trivial changes to source code
#14271 closed
Jul 30, 2025 -
Mypy hangs indefinitely trying to analyse a file with huge nested dicts
#14970 closed
Jul 30, 2025 -
Pathological performance on big list and dict literals
#8247 closed
Jul 30, 2025 -
Mypy stuck with polynomial using NumPy
#14978 closed
Jul 29, 2025 -
False positive "Method must have at least one argument" with `@enum.member`
#18720 closed
Jul 28, 2025 -
:bug: Methods converted to `staticmethod`s using a decorator not treated as `staticmethod`s
#13434 closed
Jul 28, 2025 -
Mypy doesn't recognize `@staticmethod`-like decorator
#18989 closed
Jul 28, 2025 -
Erroneous "Self argument missing" error when decorators are used
#19392 closed
Jul 28, 2025 -
Assignment to final variables is allowed in a match statement
#19507 closed
Jul 27, 2025 -
Bogus warning with `ItemsView`
#19495 closed
Jul 27, 2025 -
MyPy 1.11.0 loop variable persistance
#17541 closed
Jul 26, 2025 -
Tight type scoping for loop local variables
#19504 closed
Jul 26, 2025 -
Check format strings in logger calls
#19508 closed
Jul 26, 2025 -
Kwargs after ParamSpec.args should be tolerated
#19506 closed
Jul 25, 2025 -
Add `--warn-unreachable` to strict mode
#11223 closed
Jul 24, 2025 -
`class S(tuple[*tuple[()]])` crashes mypy
#19105 closed
Jul 22, 2025 -
The "dummy" variable _ is type-checked in assignments
#19488 closed
Jul 22, 2025 -
False Positives in Protocol Assignability Check Where `Self` Is a Parameter of a Decorated Method (1.17.0)
#19482 closed
Jul 21, 2025 -
1.17.0 regression: dict literals incompatible with Sequence[TypedDict]
#19483 closed
Jul 21, 2025 -
False positive `statement is unreachable` in try-finally related to KeyboardInterrupt
#13104 closed
Jul 20, 2025 -
TypeError: analyze_member_access() got an unexpected keyword argument 'msg'
#19478 closed
Jul 18, 2025 -
AssertionError raised after #19248
#19425 closed
Jul 18, 2025 -
Document how to profile and optimize mypy
#19472 closed
Jul 18, 2025 -
runtime flag to disable all `# type: ignore` comments
#19476 closed
Jul 17, 2025 -
[1.16 regression] Crashes on a combination of dataclass inheritance, InitVar, and properties.
#19443 closed
Jul 16, 2025 -
(🐞) generic `__init__` causes invalid error message "Type application has too few types"
#16544 closed
Jul 15, 2025 -
Getting a union from an `and` expression
#16565 closed
Jul 15, 2025 -
isinstance(..., (..., Any)) causes 'statement is unreachable'
#10547 closed
Jul 14, 2025 -
mypy does not type check arguments to `Annotated`
#19438 closed
Jul 14, 2025 -
Unsupported operand types for + ("list[None]" and "list[str]")
#19413 closed
Jul 14, 2025 -
Match on tuples and possibly-undefined
#19391 closed
Jul 11, 2025 -
Errors when merging consecutive leading-indented (?) overload statements
#17521 closed
Jul 11, 2025 -
TYPE_CHECKING overload with implementation just outside flags second usage, but not first
#19015 closed
Jul 11, 2025 -
False-positive "Non-overlapping equality check" comparing `Enum`s `self` to members
#17317 closed
Jul 11, 2025 -
`array` generic changes type in isinstance check
#19421 closed
Jul 10, 2025 -
dmypy: error: unrecognized arguments: --config-file pyproject.toml
#17624 closed
Jul 10, 2025 -
RuntimeError: Not implemented mypy.types.TypeGuardedType
#19412 closed
Jul 10, 2025 -
Mypy complains when `[]` is used for `__slots__` definition
#10870 closed
Jul 9, 2025 -
Mypy complains about empty __all__ being untyped
#10103 closed
Jul 9, 2025 -
Enum types are incorrectly inferred
#19334 closed
Jul 9, 2025 -
False positive `unreachable` when variable is set and reset inside loop
#14987 closed
Jul 7, 2025 -
False negative on `setter` field of undefined variable
#19312 closed
Jul 7, 2025 -
Mypy daemon suggest does not accept windows paths
#19335 closed
Jul 7, 2025 -
[mypyc] AssertionError in get_seuqnce_type on `ois.uname`
#12141 closed
Jul 6, 2025 -
(🐞) `unused-ignore` doesn't activate on disabled error codes
#16537 closed
Jul 6, 2025 -
bound type-var error is undetected inside return statement
#16621 closed
Jul 6, 2025
57 Issues opened by 42 people
-
function untyped after decorator transformation
#19589 opened
Aug 4, 2025 -
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 -
Irregular inference with ternary based on attribute.
#19561 opened
Aug 1, 2025 -
`meet_types` gives unexpected results when meeting literal and Instance
#19560 opened
Aug 1, 2025 -
Mypyc runtime TypeError exceptions when you change inherited method to a staticmethod
#19558 opened
Aug 1, 2025 -
Mypyc gcc compilation fails with specific duplicate variable definition
#19557 opened
Aug 1, 2025 -
Stderr in regular tests should probably go to out as well
#19554 opened
Jul 31, 2025 -
Unexpected order dependence when assigning to multiple targets
#19553 opened
Jul 31, 2025 -
join is not always permutation invariant
#19551 opened
Jul 31, 2025 -
Config errors sometimes result in exit code 0
#19548 opened
Jul 31, 2025 -
"# E:" lines (etc) in test files are ignored at the beginning of lines
#19547 opened
Jul 31, 2025 -
`[mypyc]` indexing fixed-length tuples is extremely slow and gets slower with increse in length
#19537 opened
Jul 30, 2025 -
Literal list ternary behave unexpected
#19534 opened
Jul 29, 2025 -
TypeVarTuple instantiation with the empty tuple in Generic not being recognized as such
#19533 opened
Jul 29, 2025 -
Type narrowing of indexing a StrEnum created in a function
#19532 opened
Jul 29, 2025 -
ImportError: dynamic module does not define module export function
#19531 opened
Jul 29, 2025 -
Type narrowing of `TypeVar` with abstract bases classes causes `[return-value]` error
#19530 opened
Jul 29, 2025 -
No type narrowing when `isinstance` list comprehension is assigned to the same variable
#19528 opened
Jul 29, 2025 -
Incorrect handling of overloads with `defaultdict` and `MutableMapping`
#19525 opened
Jul 28, 2025 -
Multiple extensions using `get_base_class_hook` interfere with each other
#19524 opened
Jul 28, 2025 -
Classmethods as attrs converters
#19520 opened
Jul 28, 2025 -
Condition can't be inferred, unable to merge overloads
#19516 opened
Jul 27, 2025 -
Importing IPython confuses mypy about package '__main__.py'
#19500 opened
Jul 24, 2025 -
Inconsistent assignability of callable with optional keywords to positional-only callback
#19493 opened
Jul 23, 2025 -
Regression: dict | None or dict fallback breaks type inference for nested dicts after PR #19249
#19492 opened
Jul 23, 2025 -
Crash when using an invalid 'enable_error_code' value in pyproject.toml
#19491 opened
Jul 23, 2025 -
`--no-incremental` still writes `.mypy_cache`
#19489 opened
Jul 22, 2025 -
[plugins/help] Triggering node visits?
#19481 opened
Jul 20, 2025 -
Assignability of overloaded implementation to `Proto[**P](Protocol)` is overload-order-sensitive
#19480 opened
Jul 19, 2025 -
Startup error: occasional "AssertionError: Cannot find component 'SSL' for 'OpenSSL.SSL.Context'"
#19477 opened
Jul 17, 2025 -
More specific inline dict type inference can fail on 1.17.0
#19474 opened
Jul 17, 2025 -
[match-case] mypy ignores missing `@runtime_checkable` in class-pattern
#19469 opened
Jul 17, 2025 -
[match-case] class pattern narrowing with Union-argument different from equivalent `isinstance` call.
#19468 opened
Jul 16, 2025 -
Dict unpacking fails when used for building TypedDict with required keys
#19467 opened
Jul 16, 2025 -
Bug report (Regression): bad overload resolution in `--strict` mode
#19458 opened
Jul 16, 2025 -
Extending `TraverserVisitor` causes `TypeError: interpreted classes cannot inherit from compiled traits`
#19456 opened
Jul 16, 2025 -
No-field class derived from `dataclass_transform` base class uses base class's constructor signature
#19452 opened
Jul 15, 2025 -
[PEP 696] Assigning to type variables with defaults gives unexpected results
#19444 opened
Jul 15, 2025 -
Match statement parameter binding fails for subclass of generic class
#19442 opened
Jul 15, 2025 -
inline configurations (mypy comments) in strings still work
#19441 opened
Jul 15, 2025 -
[PEP 695] Incorrect Variance Computation with Polymorphic Constructor.
#19439 opened
Jul 14, 2025 -
`func-returns-value` false positive for union type?
#19433 opened
Jul 13, 2025 -
Walrus narrowing not propagated from inside expression
#19430 opened
Jul 12, 2025 -
Mypy configuration is incomplete
#19429 opened
Jul 12, 2025 -
`NamedTuple`'s `_tuplegetter` is not recognized
#19414 opened
Jul 9, 2025 -
Detect missing or incorrect overload defaults
#19411 opened
Jul 9, 2025 -
Packaging: license declaration uses outdated format to-be removed Feb. 18, 2026
#19389 opened
Jul 7, 2025 -
overload, Protocol and generic self: annotations
#19381 opened
Jul 5, 2025
74 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 `Enum.value` inference for `Enum`s with `@cache`d methods
#19374 commented on
Aug 1, 2025 • 3 new comments -
Add support for Pydantic models in `stubgen`
#19095 commented on
Jul 15, 2025 • 3 new comments -
Improve match statement union narrowing/inference
#17600 commented on
Aug 3, 2025 • 2 new comments -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Aug 4, 2025 • 2 new comments -
Disallow literal `0` step in slice expressions
#18065 commented on
Jul 29, 2025 • 0 new comments -
Fix `[func-returns-value]` not being trigged when calling decorated functions
#18015 commented on
Jul 13, 2025 • 0 new comments -
Add GitHub annotations format for `--output`
#17771 commented on
Aug 5, 2025 • 0 new comments -
dmypy crash
#18755 commented on
Aug 5, 2025 • 0 new comments -
mypy reports no issues on access of conditionally available fields
#18708 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 -
Meta issue tracker, pt 2
#16472 commented on
Aug 3, 2025 • 0 new comments -
Improve precision of mypy performance tracking
#14358 commented on
Aug 3, 2025 • 0 new comments -
Mypy/dmypy takes over 16GB of memory
#17105 commented on
Aug 3, 2025 • 0 new comments -
plugin point for `ClassDef`
#18729 commented on
Aug 1, 2025 • 0 new comments -
No `TypeVar` variable inference in ternary operators
#18817 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 -
False positive typing.Self has incompatible type when method uses class' generic type
#16871 commented on
Jul 31, 2025 • 0 new comments -
1.17 Release Planning
#19306 commented on
Jul 31, 2025 • 0 new comments -
EncodingWarning when running under PyPy
#17057 commented on
Jul 31, 2025 • 0 new comments -
Include binary wheels for ARM Windows
#18593 commented on
Jul 30, 2025 • 0 new comments -
[mypyc] Implement `str.lower()` and `str.upper()` primitive
#19375 commented on
Jul 7, 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 -
Adds positional and kwarg only symbols into generated stubs
#19340 commented on
Jul 13, 2025 • 0 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Aug 4, 2025 • 0 new comments -
Handle `__hash__ = None` in somewhat more intuitive fashion
#19168 commented on
Aug 1, 2025 • 0 new comments -
Fix/attrs init overload
#19104 commented on
Jul 31, 2025 • 0 new comments -
Split import-untyped into import-untyped and import-untyped-stubs-available
#19101 commented on
Jul 29, 2025 • 0 new comments -
Improve cli help somewhat
#19073 commented on
Aug 3, 2025 • 0 new comments -
feat(mypyc): proper weakref support
#19056 commented on
Aug 4, 2025 • 0 new comments -
Add a flag `--enable-all-error-codes`, which enables all error codes
#19048 commented on
Jul 31, 2025 • 0 new comments -
Patch `check_op_reversible` to support `tuple` subclasses.
#19046 commented on
Aug 4, 2025 • 0 new comments -
Consider property access from class objects (now for real)
#18969 commented on
Jul 29, 2025 • 0 new comments -
PEP 702 (@deprecated): improve the handling of overloaded functions and methods
#18682 commented on
Aug 5, 2025 • 0 new comments -
Narrow literals in the negative case even with custom equality
#18574 commented on
Jul 26, 2025 • 0 new comments -
stubtest: handle overloads with mixed pos-only params
#18287 commented on
Jul 9, 2025 • 0 new comments -
stubtest: get better signatures for `__init__` of C classes
#18259 commented on
Jul 9, 2025 • 0 new comments -
More detailed checking of type objects in stubtest
#18251 commented on
Jul 9, 2025 • 0 new comments -
Allow ignore to be on any line of multi-line statement
#12341 commented on
Jul 30, 2025 • 0 new comments -
Inconsistency for `[func-returns-value]`: Error not reported for `staticmethod`s
#14179 commented on
Jul 13, 2025 • 0 new comments -
(🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
#14764 commented on
Jul 13, 2025 • 0 new comments -
[question] How do I ask a question?
#12426 commented on
Jul 12, 2025 • 0 new comments -
Should `*args` narrow in type guards?
#14273 commented on
Jul 12, 2025 • 0 new comments -
Type narrowing in while loop
#14807 commented on
Jul 12, 2025 • 0 new comments -
Checking elements of a `list[str | None]` after discarding the possibility of `None`
#16243 commented on
Jul 11, 2025 • 0 new comments -
mypy website
#16553 commented on
Jul 11, 2025 • 0 new comments -
TypeForm[T]: Spelling for regular types (int, str) & special forms (Union[int, str], Literal['foo'], etc)
#9773 commented on
Jul 10, 2025 • 0 new comments -
Daemon support for --follow-imports=silent
#9475 commented on
Jul 10, 2025 • 0 new comments -
(🐞) false negative with `dataclass` "non-default argument follows default argument"
#12137 commented on
Jul 10, 2025 • 0 new comments -
Add --soft-fail option to capture Mypy output without blocking CI
#18859 commented on
Jul 10, 2025 • 0 new comments -
Odd error message for invalid use of tuple(): expected "Iterable[Never]"
#19098 commented on
Jul 9, 2025 • 0 new comments -
Mypy doesn't object to `cached_property` methods that don't exist
#18327 commented on
Jul 8, 2025 • 0 new comments -
erroneous complaint that overloaded function implementation does not accept all possible arguments of signature
#18596 commented on
Jul 8, 2025 • 0 new comments -
Infer `python_version` from `project.requires-python` when using pyproject.toml
#19349 commented on
Jul 7, 2025 • 0 new comments -
stubtest nit: arguments vs. parameters
#16508 commented on
Jul 7, 2025 • 0 new comments -
‘CPyModule__ctypes’ undeclared
#16687 commented on
Jul 6, 2025 • 0 new comments -
overloaded __new__ ignored when introducing __init__
#17251 commented on
Jul 5, 2025 • 0 new comments -
Allow mypy to flag `str` matching against `Sequence[str]` as an error
#11001 commented on
Jul 29, 2025 • 0 new comments -
'Subclass of "A" and "B" cannot exist: would have incompatible method signatures' is usually wrong
#19377 commented on
Jul 28, 2025 • 0 new comments -
ParamSpec seems to get lost with partial()
#18589 commented on
Jul 26, 2025 • 0 new comments -
Type narrowing on all() call
#13069 commented on
Jul 25, 2025 • 0 new comments -
(🎁) Flag to make default return type `None` instead of `Any`
#9413 commented on
Jul 24, 2025 • 0 new comments -
Generic subclass of a generic class, using a constrained TypeVar is mishandled
#17757 commented on
Jul 24, 2025 • 0 new comments -
Add a way to ignore `type: ignore`, disabled error codes
#13201 commented on
Jul 23, 2025 • 0 new comments -
Can JSON format output and command line parameter options for -- disable-error-code all be supported?
#17446 commented on
Jul 23, 2025 • 0 new comments -
Enable --warn-unreachable in --strict in Mypy 2.0
#18078 commented on
Jul 23, 2025 • 0 new comments -
Internal error: KeyError 'setter_type' during node deserialization
#19359 commented on
Jul 22, 2025 • 0 new comments -
False positive `comparison-overlap`
#15509 commented on
Jul 21, 2025 • 0 new comments -
Add ReturnType-like utility for getting function return types
#8385 commented on
Jul 19, 2025 • 0 new comments -
ABCMeta.register support
#2922 commented on
Jul 15, 2025 • 0 new comments -
[1.10/11] Regression with Any in functools.wraps()
#17171 commented on
Jul 15, 2025 • 0 new comments -
@final(TypedDict).get() with unknown key returns object instead of None
#12143 commented on
Jul 14, 2025 • 0 new comments -
Subtype of mapping is not compatible type in `.update()` method
#10970 commented on
Jul 14, 2025 • 0 new comments -
Incompatible types when calling generinc `__init__` from generic `@classmethod`
#17937 commented on
Jul 14, 2025 • 0 new comments -
Add "<function> defined here" notes to more errors
#4773 commented on
Jul 14, 2025 • 0 new comments