-
-
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
106 Pull requests merged by 22 people
-
Fix C compiler flags in the profile self check script
#19326 merged
Jun 22, 2025 -
Add script for profiling self check (Linux only)
#19322 merged
Jun 22, 2025 -
Avoid erasing type objects when checking runtime cover
#19320 merged
Jun 22, 2025 -
Fix
TypeGuard
/TypeIs
being forgotten when semanal defers#19325 merged
Jun 22, 2025 -
Fix incorrect signature suggestion from
dmypy suggest
when type name matches imported module name#18937 merged
Jun 21, 2025 -
Speed up type checking by caching argument inference context
#19323 merged
Jun 21, 2025 -
Fix
TypeIs
negative narrowing of union of generics#18193 merged
Jun 21, 2025 -
Tweaks to perf_compare.py script to reduce RAM usage
#19321 merged
Jun 21, 2025 -
[Documentation] Minor change: Unify indexes in Variance of generic types description
#17871 merged
Jun 21, 2025 -
Type ignore comments erroneously marked as unused by dmypy
#15043 merged
Jun 21, 2025 -
Ignore overload impl when checking __OP__ and __rOP__ compatibility
#18502 merged
Jun 20, 2025 -
Support running stubtest in non-UTF8 terminals
#19085 merged
Jun 20, 2025 -
Fix metaclass resolution algorithm
#17713 merged
Jun 20, 2025 -
Improve the handling of "iteration dependent" errors and notes in finally clauses.
#19270 merged
Jun 20, 2025 -
[mypyc] feat(docs): detail issue with inspect.iscoroutinefunction
#19309 merged
Jun 20, 2025 -
Re-widen custom properties after narrowing
#19296 merged
Jun 19, 2025 -
Cleanup generic class variable access
#19292 merged
Jun 19, 2025 -
Fix constructor type for subclasses of Any
#19295 merged
Jun 18, 2025 -
Generalize class/static method and property alias support
#19297 merged
Jun 18, 2025 -
Fix
dmypy suggest
interaction with__new__
#18966 merged
Jun 18, 2025 -
Show name of type variable in "Cannot infer type argument" message
#19290 merged
Jun 18, 2025 -
Fix missing error when redeclaring type variable in nested generic class
#18883 merged
Jun 18, 2025 -
Sync typeshed
#19301 merged
Jun 18, 2025 -
support Callable / callable Protocols in suggest decorator unwarpping
#19072 merged
Jun 18, 2025 -
Include tuple fallback in constraints built from tuple types
#19100 merged
Jun 18, 2025 -
Skip existing when retrying upload-pypi.py
#19305 merged
Jun 17, 2025 -
Support properties with generic setters
#19298 merged
Jun 16, 2025 -
Handle corner case: protocol vs classvar vs descriptor
#19277 merged
Jun 13, 2025 -
Fix tests in master
#19293 merged
Jun 13, 2025 -
Use union of current context and left side for right side narrowing of binary ops
#19249 merged
Jun 13, 2025 -
Preserve literals when joining Literal and Instance with matching last_known_value
#19279 merged
Jun 13, 2025 -
Bind self-types in checkmember for decorated classmethods
#19025 merged
Jun 13, 2025 -
Fix
exhaustive-match
error code in title#19276 merged
Jun 11, 2025 -
[mypyc] Derive .c file name from full module name if using multi_file
#19278 merged
Jun 11, 2025 -
Fix couple inconsistencies in protocols vs TypeType
#19267 merged
Jun 11, 2025 -
[mypyc] Support overriding the group name used in output files
#19272 merged
Jun 11, 2025 -
Single underscore is not a sunder
#19273 merged
Jun 11, 2025 -
Fix missing error context for unpacking assignment involving star expression
#19258 merged
Jun 10, 2025 -
Fix and simplify error de-duplication
#19247 merged
Jun 10, 2025 -
Add regression test for narrowing union of mixins
#19266 merged
Jun 10, 2025 -
[mypyc] Make generated generator helper method internal
#19268 merged
Jun 10, 2025 -
Disallow
ClassVar
in type aliases#19263 merged
Jun 10, 2025 -
Refactor/unify access to static attributes
#19254 merged
Jun 9, 2025 -
Clean-up and move operator access to checkmember.py
#19250 merged
Jun 9, 2025 -
Add script that prints compiled files when self compiling
#19260 merged
Jun 9, 2025 -
stubgen: add test case for handling incomplete return types
#19253 merged
Jun 8, 2025 -
Update Fix help message url for "None and Optional handling" section
#19252 merged
Jun 8, 2025 -
Fix properties with setters after deleters
#19248 merged
Jun 7, 2025 -
Display FQN for imported base classes in errors about incompatible ov…
#19115 merged
Jun 6, 2025 -
Fix a minor merge conflict caused by #19118.
#19246 merged
Jun 6, 2025 -
Remove last unreachable block from mypyc code
#19086 merged
Jun 5, 2025 -
Fix type extraction from
isinstance
checks#19223 merged
Jun 5, 2025 -
Erase stray typevars in functools.partial generic
#18954 merged
Jun 5, 2025 -
Add initial changelog entries for 1.17
#19200 merged
Jun 5, 2025 -
Make infer_condition_value recognize the whole truth table
#18944 merged
Jun 5, 2025 -
Handle assignment of bound methods in class bodies
#19233 merged
Jun 5, 2025 -
Support type aliases,
NamedTuple
andTypedDict
in constrained TypeVar defaults#18884 merged
Jun 5, 2025 -
Move dataclass kw_only fields to the end of the signature
#19018 merged
Jun 5, 2025 -
Deprecated --force-uppercase-builtins flag
#19176 merged
Jun 5, 2025 -
[mypyc] Add note about using non-native class to subclass built-in types
#19236 merged
Jun 4, 2025 -
Provide a better fallback value for the python_version option
#19162 merged
Jun 4, 2025 -
[mypyc] Make some generated classes implicitly final
#19235 merged
Jun 4, 2025 -
Avoid spurious non-overlapping eq error with metaclass with
__eq__
#19220 merged
Jun 4, 2025 -
[mypyc] Free coroutine after await encounters StopIteration
#19231 merged
Jun 4, 2025 -
[mypyc] Use non-tagged integer for generator label
#19218 merged
Jun 4, 2025 -
Remove --show-speed-regression in primer
#19226 merged
Jun 4, 2025 -
Add flag to raise error if match statement does not match exaustively
#19144 merged
Jun 4, 2025 -
Narrow type variable bounds in binder
#19183 merged
Jun 3, 2025 -
Fix crash on partial type used as context
#19216 merged
Jun 3, 2025 -
Add regression test for dataclass typeguard
#19214 merged
Jun 3, 2025 -
Fix crash on invalid property inside its own body
#19208 merged
Jun 3, 2025 -
[mypyc] Merge generator and environment classes in simple cases
#19207 merged
Jun 2, 2025 -
[mypyc] Fixing condition for handling user-defined __del__
#19188 merged
Jun 2, 2025 -
[mypyc] Don't simplify module prefixes if using separate compilation
#19206 merged
Jun 2, 2025 -
Add classifier for Python 3.14
#19199 merged
Jun 2, 2025 -
[mypyc] Test function nesting with async functions
#19203 merged
Jun 2, 2025 -
Sync typeshed
#19194 merged
Jun 1, 2025 -
Further cleanup after dropping Python 3.8
#19197 merged
Jun 1, 2025 -
Tighten metaclass __call__ handling in protocols
#19191 merged
Jun 1, 2025 -
Fix nondeterministic type checking by making join with explicit Protocol and type promotion commute
#18402 merged
Jun 1, 2025 -
Infer constraints eagerly if actual is Any
#19190 merged
Jun 1, 2025 -
Include walrus assignments in conditional inference
#19038 merged
May 31, 2025 -
Use PEP 604 syntax for TypeStrVisitor
#19179 merged
May 30, 2025 -
Use checkmember.py to check protocol subtyping
#18943 merged
May 30, 2025 -
Update test requirements
#19163 merged
May 30, 2025 -
Use more lower case builtins in error messages
#19177 merged
May 30, 2025 -
Remove force_uppercase_builtins default from test helpers
#19173 merged
May 30, 2025 -
Start testing Python 3.14
#19164 merged
May 29, 2025 -
[mypyc] Enable partial, unsafe support for free-threading
#19167 merged
May 29, 2025 -
Add changelog for 1.16
#19138 merged
May 29, 2025 -
Revert "Infer correct types with overloads of
Type[Guard | Is]
#19161 merged
May 29, 2025 -
Allow enum members to have type objects as values
#19160 merged
May 28, 2025 -
Fix example to use correct method of Stack
#19123 merged
May 28, 2025 -
[mypyc] Add comment about incref/decref and free-threaded builds
#19155 merged
May 28, 2025 -
Fix nondeterministic type checking caused by nonassociative of None joins
#19158 merged
May 28, 2025 -
Drop support for --python-version 3.8
#19157 merged
May 28, 2025 -
Fix nondeterministic type checking caused by nonassociativity of joins
#19147 merged
May 28, 2025 -
Sync typeshed
#18930 merged
May 27, 2025 -
[mypyc] Refactor extension module C generation and generated C
#19126 merged
May 27, 2025 -
[mypyc] Fix incref/decref on free-threaded builds
#19127 merged
May 27, 2025 -
[mypyc] Improve documentation of native and non-native classes
#19154 merged
May 27, 2025 -
Bump version to 1.17.0+dev
#19070 merged
May 27, 2025 -
Document --allow-redefinition-new
#19153 merged
May 27, 2025 -
Fix nondeterministic type checking by making join between TypeType and TypeVar commute
#19149 merged
May 27, 2025 -
Forbid
.pop
ofReadonly
NotRequired
TypedDict items#19133 merged
May 23, 2025
23 Pull requests opened by 15 people
-
Add config key to extend config files
#19135 opened
May 23, 2025 -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 opened
May 23, 2025 -
Handle `__hash__ = None` in somewhat more intuitive fashion
#19168 opened
May 29, 2025 -
Prohibit assignment to __class__ (Fixes #7724)
#19180 opened
May 30, 2025 -
Refactor: simplify combine_function_signatures by reducing line count and preserving comments
#19196 opened
Jun 1, 2025 -
Refactor: compact and optimize infer_overload_return_type while preserving behavior and comments
#19198 opened
Jun 1, 2025 -
Add direct HTML reporter to replace XSLT-based output (ideia to fix issue #909)
#19210 opened
Jun 2, 2025 -
feat: new mypyc primitives for weakref.proxy
#19217 opened
Jun 3, 2025 -
Add test interactions for PP572 with --allow-redefinition
#19222 opened
Jun 3, 2025 -
Omit constraints referencing `dict` if a conflicting `TypedDict` constraint exists
#19225 opened
Jun 4, 2025 -
Fix crash in dmypy when packages are removed during dmypy run
#19229 opened
Jun 4, 2025 -
Allow TypeVarTuple arguments to subclasses of generic TypedDict
#19234 opened
Jun 4, 2025 -
Improve the support for promotions inside unions.
#19245 opened
Jun 6, 2025 -
feat: new mypyc primitives for str.count
#19264 opened
Jun 10, 2025 -
Mark code after for loops that never end as unreachable
#19287 opened
Jun 13, 2025 -
Use types.CoroutineType instead of typing.Coroutine
#19288 opened
Jun 13, 2025 -
Follow-up after #19025: test and cleanup
#19294 opened
Jun 13, 2025 -
Uninhabited should have all attributes
#19300 opened
Jun 14, 2025 -
[mypyc] Generate introspection signatures for compiled functions
#19307 opened
Jun 16, 2025 -
Check property decorators stricter
#19313 opened
Jun 18, 2025 -
[mypyc] Speed up generator allocation by using a per-type freelist
#19316 opened
Jun 20, 2025 -
use is_same_type when resolving decorators in suggestions
#19319 opened
Jun 20, 2025 -
Combine the revealed types of multiple iteration steps in a more robust manner.
#19324 opened
Jun 21, 2025
142 Issues closed by 18 people
-
TypeIs stops working if there is an error in the TypeIs implementation
#19318 closed
Jun 22, 2025 -
dmypy suggest gives wrong type (datetime vs datetime module)
#18935 closed
Jun 21, 2025 -
False positive [unreachable] with `TypeIs`
#17181 closed
Jun 21, 2025 -
Generic type incorrectly un-narrowed following TypeIs
#19282 closed
Jun 21, 2025 -
Type narrowed to `Never` when using `TypeIs` with union of callables
#18009 closed
Jun 21, 2025 -
Self types in generic classes
#2354 closed
Jun 21, 2025 -
Different overlap checking between `__mul__` and `__rmul__`
#18498 closed
Jun 20, 2025 -
stubtest crash with special unicode characters
#19071 closed
Jun 20, 2025 -
1.16 changed behavior of redefined variable to None
#19280 closed
Jun 20, 2025 -
Metaclass conflict error when base class uses an imported metaclass with no annotation
#14182 closed
Jun 20, 2025 -
Metaclass conflict when combine class with a custom metaclass and str class
#14818 closed
Jun 20, 2025 -
False positive error when subclassing `List` type
#15040 closed
Jun 20, 2025 -
Wrong Metaclass Conflict Error
#17213 closed
Jun 20, 2025 -
Offer a simpler way to resolve metaclass conflicts
#14033 closed
Jun 20, 2025 -
Wrong `unreachable` note in `finally` section
#19269 closed
Jun 20, 2025 -
Type narrowing behavior for data descriptor assignment is incorrect in some cases
#10399 closed
Jun 19, 2025 -
Recent performance regressions
#18991 closed
Jun 19, 2025 -
Preliminary test on type not detected, leading to false error
#19124 closed
Jun 19, 2025 -
Generic ClassVar Type failing
#5144 closed
Jun 19, 2025 -
`@classmethod` forces `Self` to coerce to a specific type
#15223 closed
Jun 19, 2025 -
Inheriting from untyped class and overriding `__init__` breaks abstract class detection
#17781 closed
Jun 18, 2025 -
Subclassing Class having type Any
#10848 closed
Jun 18, 2025 -
Property, classmethod and staticmethod aliases not supported
#6700 closed
Jun 18, 2025 -
dmypy suggest crashes on `__new__` with IndexError
#18964 closed
Jun 18, 2025 -
Source file found twice under different module names mypy
#19284 closed
Jun 18, 2025 -
Mypy reports error for different argument, than the one which is actually wrong
#19289 closed
Jun 18, 2025 -
Error isn't provided when TypeVar is defined in both outer and inner class scopes
#10479 closed
Jun 18, 2025 -
dmypy gives up on trivial decorator
#18940 closed
Jun 18, 2025 -
Argument 1 to `type_check_only` has incompatible type `type[S[T, *Ts]]`; expected `type[S[T, *Ts]]`
#19093 closed
Jun 18, 2025 -
False negative using --strict-equality and None
#14541 closed
Jun 17, 2025 -
Incorrect/inconsistent handling of PIL.Image.Image when using PEP 695 Type Parameters
#19303 closed
Jun 16, 2025 -
Refactor all member access to go through checkmember.py (meta issue)
#7724 closed
Jun 14, 2025 -
Strange case with deepcopy() and Literal[True]
#12001 closed
Jun 13, 2025 -
False error in conditional expression returning union
#6898 closed
Jun 13, 2025 -
Mypy incorrectly gives an error for a ternary return statement
#15368 closed
Jun 13, 2025 -
lru_cache classmethod: variable has type "Self" after assignment
#18993 closed
Jun 13, 2025 -
Return type is `Self` when calling an inherited decorated classmethod that returns `Self`
#19023 closed
Jun 13, 2025 -
Wrong `comparison-overlap` with `Enum`/`Literal` when using globals
#19283 closed
Jun 13, 2025 -
How to run stubtest on ujson (all compiled code)?
#19261 closed
Jun 12, 2025 -
MyPy v1.t6.0 cannot infer a descriptor's type through a `Protocol` which v1.15.0 supports
#19274 closed
Jun 11, 2025 -
Add `[disallow-non-exhaustive-match]` check
#13597 closed
Jun 11, 2025 -
[1.16 regression] no longer recognizes enum singleton as only possible case
#19271 closed
Jun 11, 2025 -
Missing line number error report
#19257 closed
Jun 10, 2025 -
Support subtyping `Literal` with `StrEnum` and `IntEnum` values
#19243 closed
Jun 10, 2025 -
(🐞) Same error reported multiple times on inner functions when `show-error-context` is enabled
#13517 closed
Jun 10, 2025 -
Error diagnostics incomplete on generic function redefinition
#17791 closed
Jun 10, 2025 -
[1.16 regression] duplicated note for incompatible type
#19240 closed
Jun 10, 2025 -
1.10.1: pytest fails in
#17428 closed
Jun 10, 2025 -
[1.16 regression] descriptor not working in protocol
#19054 closed
Jun 10, 2025 -
<nothing> when narrowing types on union of subtypes
#16413 closed
Jun 10, 2025 -
False error: Never has no attribute "foo" [attr-defined]
#17198 closed
Jun 9, 2025 -
Unpacking doesn't do proper type narrowing
#17240 closed
Jun 9, 2025 -
Regression: descriptors don't work on protocols
#19262 closed
Jun 9, 2025 -
TypedDict totality ignored when instantiating a not type-hinted class variable typed dict
#17174 closed
Jun 9, 2025 -
TypedDict as default_factory in dataclasses is not inferred correctly
#5723 closed
Jun 9, 2025 -
Refactor common code in analyze_member_access and find_member
#3832 closed
Jun 9, 2025 -
Refactor operator method access and protocol checks to use checkmember.py
#5136 closed
Jun 9, 2025 -
Clean up kludges for handling metaclasses and Type[...] in check_op_reversible
#5491 closed
Jun 9, 2025 -
TypeVar incompatible with constrained union
#9424 closed
Jun 8, 2025 -
Unpack generic tuple with no args not working
#19140 closed
Jun 8, 2025 -
Help message URL incorrect for "None and Optional handling"
#19251 closed
Jun 8, 2025 -
[1.16 regression] Relative order of property methods changes mypy output
#19224 closed
Jun 7, 2025 -
Show more context about the base class on incompatible override
#19112 closed
Jun 6, 2025 -
[1.16 regression] a cast is both needed and redundant at the same time
#19170 closed
Jun 6, 2025 -
mypy duplicates `reveal_type` notes with partial types
#18511 closed
Jun 6, 2025 -
[1.15 regression] (Temporary) false positive for reachability with unannotated partial type
#18606 closed
Jun 6, 2025 -
Specifying self-type for first `__init__` overload affects `isinstance` type narrowing
#19221 closed
Jun 5, 2025 -
mypy too strict in enforcing generic return types when they are unions
#19239 closed
Jun 5, 2025 -
Spurious error with `partial` and `TypeVar`
#18953 closed
Jun 5, 2025 -
Spurious error with `partial` and `ParamSpec`
#15215 closed
Jun 5, 2025 -
Unreachability depends on statement ordering
#18901 closed
Jun 5, 2025 -
Method as variable inside class fail to count parameters
#18438 closed
Jun 5, 2025 -
Type variable defaults aren't checked properly against `TypeAliasType(...)` aliases
#18862 closed
Jun 5, 2025 -
Constrained `TypeVar` default causes false positive error if the default is a `TypedDict` type
#17686 closed
Jun 5, 2025 -
Attributes without a default cannot follow attributes with one
#17731 closed
Jun 5, 2025 -
`kw_only` dataclass fields confuse mypy on argument order
#19017 closed
Jun 5, 2025 -
mypy 1.16 hates PEP 747 `typing.TypeForm` and thus @beartype
#19227 closed
Jun 5, 2025 -
random slow down
#19230 closed
Jun 4, 2025 -
when soft-error-limit is -1,it doesn't work
#19228 closed
Jun 4, 2025 -
dataclass.replace(obj, **dict) produces spurious errors
#19219 closed
Jun 4, 2025 -
mypy not raising error on inexhaustive case/match statements in strict mode
#19136 closed
Jun 4, 2025 -
Type narrowing of 'TypeVar' causes '[return-value]' error
#15151 closed
Jun 3, 2025 -
[1.16 regression] narrowing a typevar via comparison to None
#19166 closed
Jun 3, 2025 -
Inconsistent behavior when narrowing bounded generics.
#13426 closed
Jun 3, 2025 -
Wrong type narrowing when using type without an argument in isinstance call
#13462 closed
Jun 3, 2025 -
Mypy inappropriately infers class type as _typeshed.DataclassInstance
#14941 closed
Jun 3, 2025 -
TypeVar resolved to a concrete type using isinstance causes mypy to become confused at the equivalence
#11664 closed
Jun 3, 2025 -
False-positive on TypeVar bound class return value
#10817 closed
Jun 3, 2025 -
issubclass(...) causes a TypeVar to become a Union, leading to false positives
#11163 closed
Jun 3, 2025 -
TypeVar error
#12882 closed
Jun 3, 2025 -
Incompatible return value type with TypeVar
#10003 closed
Jun 3, 2025 -
`Union` is incorrectly constructed when `callable()` is used, resulting in a false positive
#9778 closed
Jun 3, 2025 -
Bug: `issubclass()` doesn't narrow TypeVar type with Protocol
#8556 closed
Jun 3, 2025 -
Class typevars lose information from `isinstance` checks
#5720 closed
Jun 3, 2025 -
[1.16 apparent regression] mypy 1.16 fails to analyze pydantic 2.11.5 (succeeded in mypy 1.15)
#19209 closed
Jun 3, 2025 -
[1.16 regression] Internal error: must never apply partial type
#19213 closed
Jun 3, 2025 -
`__repr__` defined from helper function cannot be overridden
#17562 closed
Jun 3, 2025 -
Error while checking an edx-platform django model file
#19215 closed
Jun 3, 2025 -
`t.Optional[t.Union[...]]` leads to incorrect behaviour
#19204 closed
Jun 3, 2025 -
[1.16 regression] narrowing on is_dataclass
#19139 closed
Jun 3, 2025 -
[1.16 regression] crashes on invalid and self-referential setter
#19205 closed
Jun 3, 2025 -
Problems with narrowing generic `T | Sequence[T]`
#19202 closed
Jun 3, 2025 -
[1.16] Regression in inferring type via unittest.mock.Mock
#19184 closed
Jun 1, 2025 -
[1.16 makes more common] Inference of Any against optional type infers Never
#8829 closed
Jun 1, 2025 -
Narrowing doesn't work on a typevar with a union bound
#15631 closed
May 31, 2025 -
Erroneous error about incompatible return value in generic function
#14813 closed
May 31, 2025 -
Checking Generic Type at Runtime
#13053 closed
May 31, 2025 -
Type narrowing not performed in walrus operator conditional
#19036 closed
May 31, 2025 -
[1.16 regression] assigning a lambda to subclass w/ generics
#19165 closed
May 31, 2025 -
Protocols don't support descriptors
#5481 closed
May 30, 2025 -
Protocols with property descriptors require all compliant symbols to use the same implementation.
#9202 closed
May 30, 2025 -
(🐞) Explicit type parameter specification with method reference screws up assignability
#13041 closed
May 30, 2025 -
Type parameter scoping seems to disagree with PEP 484
#11993 closed
May 30, 2025 -
Generic propagation into dataclasses doesn't seem to work consistently
#9585 closed
May 30, 2025 -
Decorated function makes type-check fail if done inside of method from the class
#9266 closed
May 30, 2025 -
`set` operations and unpacking
#14259 closed
May 30, 2025 -
Accessing dunders via type object produces TypeVar clashes
#14814 closed
May 30, 2025 -
No recognition of concretized type for generic in method's self
#14806 closed
May 30, 2025 -
`builtins.sum`: Spurious error for operands having `__add__` defined using `partialmetho`
#17734 closed
May 30, 2025 -
Error inferring typevar on generic classes
#18706 closed
May 30, 2025 -
False positive when calling a method from a subclass
#15097 closed
May 30, 2025 -
Issue with constrained type var and Protocol
#18024 closed
May 30, 2025 -
[mypyc] Pickle test failure with Python 3.14.0a1
#17973 closed
May 30, 2025 -
Dataclasses fail to parse kwargs correctly
#19172 closed
May 30, 2025 -
Unused function arguments marked with underscore `_` are required to have type annotation
#18911 closed
May 30, 2025 -
The result of `get_origin()` on a `GenericAlias` variable "is not indexable"
#18894 closed
May 30, 2025 -
[1.16 regression] determining exhaustive match on an enum with type members
#19151 closed
May 28, 2025 -
Nondeterministic type checking on pytorch/vision
#19121 closed
May 28, 2025 -
MyPy is nondeterministic across runs
#16979 closed
May 28, 2025 -
Incorrect error [list-tem] with deque
#19156 closed
May 28, 2025 -
Type error randomly raised when using a decorator and a `type: ignore` comment
#18125 closed
May 27, 2025 -
mypy crashes with python 3.14 within argparse
#19150 closed
May 26, 2025 -
Unexpected failure of union type to unify with generic type with value restriction
#19141 closed
May 23, 2025 -
Mypy fails on external libraries
#19131 closed
May 23, 2025 -
Mypy treats the overload object as an implementation of an abstract method
#19137 closed
May 23, 2025 -
False negative: popping a ReadOnly key from a TypedDict
#19130 closed
May 23, 2025 -
Mypy doesn't catch renaming arguments in overrides
#19132 closed
May 22, 2025
45 Issues opened by 35 people
-
False positive when accessing a TypedDict in a list comprehension
#19317 opened
Jun 20, 2025 -
stubgen generates bad signatures when mixing historical positional-only names and keyword-only parameters
#19315 opened
Jun 18, 2025 -
Overlapping modules overloads in `pyproject.toml` result in undefined behavior
#19314 opened
Jun 18, 2025 -
False negative on `setter` field of undefined variable
#19312 opened
Jun 18, 2025 -
valid-type not reported for variables imported in other modules
#19310 opened
Jun 17, 2025 -
Type narrowing fails on type(None) or NoneType
#19308 opened
Jun 17, 2025 -
1.17 Release Planning
#19306 opened
Jun 16, 2025 -
Assigning to intermediate variable changes type checking results
#19304 opened
Jun 16, 2025 -
Type checking for *args and **kwargs when passing them to another function
#19302 opened
Jun 15, 2025 -
Followup tasks for checkmember.py refactoring
#19299 opened
Jun 14, 2025 -
Add full support for functools.lru_cache
#19291 opened
Jun 13, 2025 -
crash for a very specific invocation of mypy: `assert isinstance(visitor, SyntheticTypeVisitor)`
#19286 opened
Jun 12, 2025 -
Bounded generic type parameter not narrowed past its upper bound, regardless of argument value
#19285 opened
Jun 12, 2025 -
setting `exclude_gitignore = true` breaks stubtest
#19281 opened
Jun 12, 2025 -
mypy 1.16 has new dependency pathspec
#19275 opened
Jun 11, 2025 -
Type-narrowing in a union sometimes fails
#19265 opened
Jun 10, 2025 -
Argument "key" to "sorted" has incompatible type "Callable…"
#19259 opened
Jun 9, 2025 -
Unreachability should work for constrained type vars
#19256 opened
Jun 8, 2025 -
An instance of a final class should be treated as satisfying a TypeVar bound to it, after being narrowed
#19255 opened
Jun 8, 2025 -
Report an error if *args or **kwargs are passed when all other arguments are filled.
#19244 opened
Jun 6, 2025 -
[1.16 regression] Incompatible types error when using `Enum`s of a `NamedTuple`
#19242 opened
Jun 6, 2025 -
Mypy false positive for `converter` class attribute in `logging.Formatter` class.
#19241 opened
Jun 6, 2025 -
1.16 regression: `--warn-unused-ignore` now complains in ignored-but-correct places
#19237 opened
Jun 4, 2025 -
Non-hashable tuple should not be accepted as `Hashable`
#19232 opened
Jun 4, 2025 -
"--version" option does not produce output matching an existing git tag
#19212 opened
Jun 3, 2025 -
mypy loses information about types. 'str | tuple[str, ...]' becomes 'Sequence[str]'
#19211 opened
Jun 2, 2025 -
Function with generic class and generic value arguments are not inferred when generic is a TypedDict
#19201 opened
Jun 2, 2025 -
Mypy plugins: Changing class signature impossible here?
#19195 opened
Jun 1, 2025 -
dataclasses.dataclass, custom __init__ and dataclasses.replace false positive.
#19193 opened
Jun 1, 2025 -
Type variable defaults, solved for partially-parameterised generic types, do not reset
#19192 opened
Jun 1, 2025 -
Crash using forward-referencing type alias parameterised by dependent type variables
#19186 opened
May 31, 2025 -
TYPE_CHECKING-only `Final`-annotated nested `always-true/false` flags crashes with conditional type aliases
#19185 opened
May 31, 2025 -
Bug: overloads not matched when using `TypeVar` with `default` (where Pyright matches correctly)
#19182 opened
May 31, 2025 -
Wording in `mypy.plugin.Plugin.get_method[_signature]_hook` docstring
#19181 opened
May 31, 2025 -
Better support for property-subclasses / read-only descriptors
#19178 opened
May 30, 2025 -
Make it easier to retry in upload-pypi script
#19174 opened
May 30, 2025 -
"Invalid self argument" for numpy's `iadd`
#19171 opened
May 30, 2025 -
overloads in `if TYPE_CHECKING` shouldn't require implementations
#19169 opened
May 29, 2025 -
[1.16 regression] failure to exhaustively narrow type var bounded by union (across files)
#19159 opened
May 28, 2025 -
Keep `Literal` after indexing?
#19152 opened
May 26, 2025 -
Request: split off `Untyped decorator makes function "..." untyped` from `[misc]`
#19148 opened
May 26, 2025 -
Infer type of generic class from return type of (optionally awaitable) callable passed to constructor
#19143 opened
May 23, 2025 -
Sequence of types
#19142 opened
May 23, 2025 -
Conditionally excluding backward incompatible syntax based on python version
#19134 opened
May 22, 2025
63 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/attrs init overload
#19104 commented on
Jun 19, 2025 • 21 new comments -
Allow adjacent conditionally-defined overloads
#19042 commented on
Jun 21, 2025 • 5 new comments -
feat: new mypyc primitive for weakref.ref
#19099 commented on
Jun 21, 2025 • 4 new comments -
Mention in the Any documentation how object is preferable
#19103 commented on
Jun 18, 2025 • 1 new comment -
Introduce temporary named expressions for `match` subjects
#18446 commented on
Jun 21, 2025 • 0 new comments -
Allow passing a callable with type vars in self types
#18401 commented on
May 31, 2025 • 0 new comments -
Arguments without a default cannot follow attributes with one
#17785 commented on
Jun 20, 2025 • 0 new comments -
fix: unpack unions inside tuples in except handlers
#17762 commented on
May 27, 2025 • 0 new comments -
Support narrowing literals and enums using the in operator in combination with list, set, and tuple expressions.
#17044 commented on
May 23, 2025 • 0 new comments -
Fix binding difference between callables and callback protocols
#15993 commented on
Jun 15, 2025 • 0 new comments -
Allow to enable/disable plugin error codes
#13419 commented on
Jun 13, 2025 • 0 new comments -
Mypy should allow for Self in parametrized parent class definition — issues with contextlib.AbstractContextManager
#17758 commented on
Jun 22, 2025 • 0 new comments -
Missing `TypeIs` narrowing for variadic tuples
#17599 commented on
Jun 21, 2025 • 0 new comments -
unpacking dict in function call with optional arguments fails
#10008 commented on
Jun 19, 2025 • 0 new comments -
Generic argument is not being identified
#18933 commented on
Jun 18, 2025 • 0 new comments -
Making a type alias of a Callable that describes a decorator discards all type information
#18842 commented on
Jun 17, 2025 • 0 new comments -
plugin point for `ClassDef`
#18729 commented on
Jun 17, 2025 • 0 new comments -
MyPy 0.750 slow startup (or hang) on macOS
#8055 commented on
May 22, 2025 • 0 new comments -
Add idlemypyextension to IDE integrations section
#18615 commented on
Jun 21, 2025 • 0 new comments -
PEP 702 (@deprecated): improve the handling of overloaded functions and methods
#18682 commented on
Jun 17, 2025 • 0 new comments -
[PEP 747] Recognize TypeForm[T] type and values (#9773)
#18690 commented on
Jun 4, 2025 • 0 new comments -
Add experimental support for PEP 764 inline TypedDicts
#18889 commented on
Jun 7, 2025 • 0 new comments -
[mypyc] Add primitive for bytes decode() method
#18951 commented on
Jun 18, 2025 • 0 new comments -
Patch `check_op_reversible` to support `tuple` subclasses.
#19046 commented on
Jun 13, 2025 • 0 new comments -
Add warn-unreachable to strict mode
#19047 commented on
Jun 9, 2025 • 0 new comments -
Add a flag `--enable-all-error-codes`, which enables all error codes
#19048 commented on
Jun 4, 2025 • 0 new comments -
Enable warn_unreachable = True for `mypyc` and all other files as well
#19050 commented on
Jun 9, 2025 • 0 new comments -
feat(test): Failure test case for mypyc dictionary subclass views
#19076 commented on
Jun 7, 2025 • 0 new comments -
Add support for Pydantic models in `stubgen`
#19095 commented on
May 29, 2025 • 0 new comments -
Split import-untyped into import-untyped and import-untyped-stubs-available
#19101 commented on
Jun 7, 2025 • 0 new comments -
enable --pretty by default
#19122 commented on
Jun 4, 2025 • 0 new comments -
Improve error messages for missing annotations (return type + arguments)
#19125 commented on
Jun 6, 2025 • 0 new comments -
(🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
#14764 commented on
May 23, 2025 • 0 new comments -
Honor return type of `__new__` even if not a subclass
#15182 commented on
May 26, 2025 • 0 new comments -
"An implementation for an overloaded function is not allowed in a stub file" for overloaded type hint
#19128 commented on
May 26, 2025 • 0 new comments -
Composing multiple configuration files
#9620 commented on
May 27, 2025 • 0 new comments -
No first-class bound method support
#14235 commented on
May 29, 2025 • 0 new comments -
Overloads not resolved correctly when argument is `Any` and return types use `TypeGuard` or `TypeIs`
#17579 commented on
May 29, 2025 • 0 new comments -
Mypy doesn't narrow a matched object's type (generic or not) based on attribute subpattern match
#19081 commented on
May 29, 2025 • 0 new comments -
Decorated properties report error: "not callable" in mypy 1.7.1 and master
#16694 commented on
May 30, 2025 • 0 new comments -
Website still links removed ROADMAP
#11997 commented on
May 30, 2025 • 0 new comments -
Lazily process installed packages
#17924 commented on
May 30, 2025 • 0 new comments -
With `--disallow-any-decorated`, `Any` detection logic changes w/wo decorator
#15211 commented on
May 31, 2025 • 0 new comments -
dmypy Suggest assertion error in `bind_function_type_variables`
#16708 commented on
Jun 1, 2025 • 0 new comments -
False positive for "Non-overlapping identity check" when comparing Enum variants
#10910 commented on
Jun 3, 2025 • 0 new comments -
False positive `unreachable` when variable is set and reset inside loop
#14987 commented on
Jun 4, 2025 • 0 new comments -
Add support for TypedDict extra_items= and closed= (PEP 728)
#18176 commented on
Jun 5, 2025 • 0 new comments -
warn-unreachable false-positive when method updates attribute after assert
#11969 commented on
Jun 5, 2025 • 0 new comments -
Errors when merging consecutive leading-indented (?) overload statements
#17521 commented on
Jun 7, 2025 • 0 new comments -
`Enum` member aliases are treated as never-equal
#16830 commented on
Jun 7, 2025 • 0 new comments -
DefaultDict of a TypedDict confuses mypy
#7217 commented on
Jun 8, 2025 • 0 new comments -
Reuse compiled baseline in perf_compare
#14359 commented on
Jun 9, 2025 • 0 new comments -
`return await ...` not working properly
#18805 commented on
Jun 10, 2025 • 0 new comments -
False-positive type errors when passing **kwargs to a function that has other keyword args
#18481 commented on
Jun 10, 2025 • 0 new comments -
Can JSON format output and command line parameter options for -- disable-error-code all be supported?
#17446 commented on
Jun 10, 2025 • 0 new comments -
`.get(key)` should narrow final TypedDicts
#17087 commented on
Jun 10, 2025 • 0 new comments -
stubgen: mangles from _typeshed import Incomplete on Windows
#16658 commented on
Jun 11, 2025 • 0 new comments -
ABCMeta.register support
#2922 commented on
Jun 11, 2025 • 0 new comments -
report warn-redundant-annotation (similar to warn-redundant-cast)
#18540 commented on
Jun 11, 2025 • 0 new comments -
IntEnum literals are not considerable comparable with ints
#16327 commented on
Jun 13, 2025 • 0 new comments -
Assigning wrapped class members to a member defined by a base class fails with incompatible types in assignment
#14408 commented on
Jun 14, 2025 • 0 new comments -
`KeyError: 'deprecated'` because of bad cache
#18473 commented on
Jun 14, 2025 • 0 new comments -
1.16 Release Planning
#18739 commented on
Jun 16, 2025 • 0 new comments