-
-
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
105 Pull requests merged by 17 people
-
Add await to empty context hack
#19777 merged
Sep 2, 2025 -
[mypyc] Fix object finalization
#19749 merged
Sep 2, 2025 -
Consider non-empty enums assignable to Self
#19779 merged
Sep 2, 2025 -
[mypyc] Allow defining a single-item free "list" for a native class
#19785 merged
Sep 2, 2025 -
Use dedicated tags for most common instances
#19762 merged
Sep 1, 2025 -
[mypyc] Speed up unary "not"
#19774 merged
Sep 1, 2025 -
[mypyc] Fix C function signature
#19773 merged
Sep 1, 2025 -
Mypy micro-optimizations (batch 3/3)
#19770 merged
Sep 1, 2025 -
Sync typeshed
#19772 merged
Sep 1, 2025 -
Use empty context as fallback for return statements
#19767 merged
Sep 1, 2025 -
Update stubinfo for latest typeshed
#19771 merged
Aug 31, 2025 -
Mypy micro-optimizations (batch 2/3)
#19769 merged
Aug 31, 2025 -
Mypy micro-optimizations (batch 1/3)
#19768 merged
Aug 31, 2025 -
Use fast Python wrappers in native_internal
#19765 merged
Aug 31, 2025 -
Try fixing test times after GC hack
#19766 merged
Aug 30, 2025 -
Use some macros in native_internal
#19757 merged
Aug 30, 2025 -
Add idlemypyextension to IDE integrations section
#18615 merged
Aug 30, 2025 -
--strict-equality
forNone
#19718 merged
Aug 30, 2025 -
Do not display import-related errors after module-level always false assert
#19347 merged
Aug 30, 2025 -
Fix forward references in type parameters of overparameterized PEP 695 type aliases
#19725 merged
Aug 29, 2025 -
[mypyc] Use defined __new__ method in tp_new and constructor
#19739 merged
Aug 29, 2025 -
[mypyc] Speed up implicit __ne__ method
#19759 merged
Aug 29, 2025 -
[mypyc] Speed up equality with optional str/bytes types
#19758 merged
Aug 29, 2025 -
[mypyc] Refactor IR build of equality and unary operators
#19756 merged
Aug 29, 2025 -
Use more compact cache representation for int and str
#19750 merged
Aug 29, 2025 -
fix crash with variadic tuple arguments to generic type
#19705 merged
Aug 28, 2025 -
Don't write constructor cache without strict optional
#19752 merged
Aug 28, 2025 -
Do not use outer context for
or
expr inference if the LHS has Any#19748 merged
Aug 28, 2025 -
Use u8 for type/symbol tags
#19741 merged
Aug 27, 2025 -
[mypyc] feat:
__mypyc_empty_tuple__
constant#19654 merged
Aug 27, 2025 -
Cleanup old ast classes in fastparse
#19743 merged
Aug 27, 2025 -
Fix unwrapping assignment expressions in match subject
#19742 merged
Aug 27, 2025 -
Use 1 byte per type/symbol tag
#19735 merged
Aug 26, 2025 -
[mypyc] feat: PyObject_CallObject op for fn(*args) fastpath
#19631 merged
Aug 26, 2025 -
Omit errors for class pattern matches against object
#19709 merged
Aug 26, 2025 -
Revert "Enable colored output for argparse help in Python 3.14 (#19021)"
#19721 merged
Aug 25, 2025 -
Update dependencies
#19720 merged
Aug 25, 2025 -
Include base mypy requirements in docs requirements
#19727 merged
Aug 25, 2025 -
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 -
Sync typeshed
#19664 merged
Aug 16, 2025 -
Sort arguments in TypedDict overlap error message
#19666 merged
Aug 15, 2025 -
[mypyc] Remove unreachable code
#19667 merged
Aug 15, 2025 -
[mypyc] feat: optimize f-string building from Final values
#19611 merged
Aug 15, 2025 -
fix: prevent false positive "untyped after decorator transformation" after deferral
#19591 merged
Aug 15, 2025 -
Reset to previous statement when leaving
return
in semanal#19642 merged
Aug 14, 2025 -
Include
ambiguous
intoUninhabitedType
identity#19648 merged
Aug 14, 2025 -
[mypyc] feat: exact_dict_set_item_op
#19657 merged
Aug 14, 2025 -
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 -
Assorted niche optimizations
#19587 merged
Aug 5, 2025 -
Move Windows tests from oldest to newest version
#19545 merged
Aug 5, 2025 -
Skip more method bodies in third-party libraries
#19586 merged
Aug 5, 2025 -
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
35 Pull requests opened by 17 people
-
[mypyc] feat: optimize C code for str.count
#19582 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 -
[PEP 747] Recognize TypeForm[T] type and values (#9773)
#19596 opened
Aug 5, 2025 -
Fix matching against union of tuples
#19600 opened
Aug 6, 2025 -
Fix `meet_types` for literal and instance
#19605 opened
Aug 7, 2025 -
[refactor] Remove code that "disables deprecation warnings about \u"
#19606 opened
Aug 7, 2025 -
feat: proper narrowing for TypedDict keys and values
#19610 opened
Aug 7, 2025 -
Make IntEnum/StrEnum values passable to functions expecting literal ints or strs
#19617 opened
Aug 8, 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 -
[mypyc] feat: ForFilter generator helper for `builtins.filter`
#19643 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: new primitives for `bytes.rjust` and `bytes.ljust`
#19672 opened
Aug 16, 2025 -
[mypyc] feat: new primitive for `int.bit_length`
#19673 opened
Aug 16, 2025 -
[mypyc] feat: new primitive for `int.to_bytes`
#19674 opened
Aug 16, 2025 -
[testing]
#19676 opened
Aug 17, 2025 -
[mypyc] feat: exact_dict_rprimitive
#19677 opened
Aug 18, 2025 -
Sync enum members logic in typeanal and checkmember
#19687 opened
Aug 19, 2025 -
Fix spurious possibly-undefined errors in for-else with break
#19696 opened
Aug 20, 2025 -
[mypyc] feat: remove redundant box/unbox operations
#19717 opened
Aug 23, 2025 -
Support error codes from plugins in options
#19719 opened
Aug 23, 2025 -
fix(mypy): prevent incorrect type inference for awaited function calls
#19723 opened
Aug 25, 2025 -
docs: move "Configuring and running mypy" section to before "Type system reference"
#19730 opened
Aug 25, 2025 -
stubtest: additional guidance on errors when runtime is object.__init__
#19733 opened
Aug 26, 2025 -
Improve match subject inference
#19736 opened
Aug 26, 2025 -
[stubtest] temporary `--ignore-disjoint-bases` flag
#19740 opened
Aug 26, 2025 -
Stubtest: check `_value_` for ellipsis-valued stub enum members
#19760 opened
Aug 29, 2025 -
Sync variance of typing classes in fixtures with typeshed
#19778 opened
Sep 1, 2025 -
fix: Allow instantiation of type[None] in analyze_type_type_callee
#19782 opened
Sep 2, 2025
76 Issues closed by 14 people
-
Spurious type error with async function + generic callable argument + optional return type
#19716 closed
Sep 2, 2025 -
`Self` type isn't considered to be the same as the explicit class type
#16558 closed
Sep 2, 2025 -
Unable to use `typing.Self` with `Enum`s
#18345 closed
Sep 2, 2025 -
`comparision-overlap` ignores side-effects from member function calls
#19783 closed
Sep 2, 2025 -
mypy-lang.org roadmap link is dead
#19784 closed
Sep 2, 2025 -
Async generators are detected as synchronous generators erroneously
#17482 closed
Sep 2, 2025 -
Overload + generic functions + union arguments = inconsistent results (wrong overload is matched?)
#18321 closed
Sep 2, 2025 -
Not identifying None check on multiple values using "any" or "all"
#19775 closed
Sep 1, 2025 -
False positive when using coroutines and generics
#15886 closed
Sep 1, 2025 -
Inspection fails on second-order circular imports for dataclasses
#10200 closed
Aug 31, 2025 -
Flag `None` check on value that cannot be `None`
#18386 closed
Aug 30, 2025 -
mypy tries to follow imports in files with top-level sys.platform asserts on non-matching platforms
#19346 closed
Aug 30, 2025 -
trouble with a str
#19763 closed
Aug 30, 2025 -
Crash for certain type alias definitions with parameter with parameter bounded by a forward type
#19734 closed
Aug 29, 2025 -
1.17 Release Planning
#19306 closed
Aug 29, 2025 -
MyPy 1.17.1 crashing when using Pandera 0.25.0 and pandas-stubs 2.3.2.250827
#19754 closed
Aug 29, 2025 -
Mypyc ignores custom `__new__` without warning
#16012 closed
Aug 29, 2025 -
mypy incorrectly infers callable signature when assigning async function to class attribute
#19713 closed
Aug 29, 2025 -
mypy crashes when passing multiple variadic tuples
#19704 closed
Aug 28, 2025 -
Regression related type objects and no strict optional
#19751 closed
Aug 28, 2025 -
Regression: dict | None or dict fallback breaks type inference for nested dicts after PR #19249
#19492 closed
Aug 28, 2025 -
Type-narrowing `Optional[Any]` with generic function returns `<nothing>`
#12586 closed
Aug 28, 2025 -
Erroneous "Alternative patterns bind different names" in match statement
#13950 closed
Aug 27, 2025 -
mypy gives diagnostic on code Literal typing code accepted by pyright, pyrefly
#19747 closed
Aug 27, 2025 -
invalid keyword argument
#19746 closed
Aug 27, 2025 -
Match statement parameter binding fails for subclass of generic class
#19442 closed
Aug 27, 2025 -
Wrong types when pattern matching `int` with `http.HTTPStatus`
#18866 closed
Aug 27, 2025 -
Type inference issue with match expression in generic functions
#15930 closed
Aug 27, 2025 -
Cannot use `match case` to destructure any object using `case object(x=y)`
#16912 closed
Aug 27, 2025 -
TypedDict overlap check has non-deterministic output
#19745 closed
Aug 27, 2025 -
Odd behavior in DEV version of mypy on `pandas-stubs`
#19711 closed
Aug 26, 2025 -
RTD docs build has been failing since Aug 2 2025
#19726 closed
Aug 25, 2025 -
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 -
`a: Type[T]` does not accept parameter of type `TypeAliasType`
#19661 closed
Aug 15, 2025 -
tuple expression gives different result than equivalent `TypeVarTuple` usage.
#19665 closed
Aug 15, 2025 -
function untyped after decorator transformation
#19589 closed
Aug 15, 2025 -
`name-defined` is whitespace-dependent
#19632 closed
Aug 14, 2025 -
Mypy thinks `dict[Never, Never]` is a subtype of `Mapping[str, object]`
#19641 closed
Aug 14, 2025 -
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 -
Overloaded deprecated __init__ method use is not reported
#19588 closed
Aug 5, 2025 -
Unexpected error when assigning dict literal to union containing TypedDict
#19590 closed
Aug 5, 2025 -
Upcasting causes incompatible types in assignment with `TypedDict`
#14991 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 -
Exhaustiveness checking false positives when using `match self` or `match self.value` inside an Enum
#15186 closed
Aug 3, 2025 -
Enum instance type ignored in match/case statements
#13841 closed
Aug 3, 2025 -
Faulty type inference for `Enum` attributes
#15454 closed
Aug 3, 2025 -
Type of an Enum nonmember is wrong when accessed through a member
#19418 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
51 Issues opened by 33 people
-
Drop support for 32-bit platforms?
#19786 opened
Sep 2, 2025 -
Faster parser
#19776 opened
Sep 1, 2025 -
1.18 Release Planing
#19764 opened
Aug 29, 2025 -
Inconsistent processing Literal as TypeVar
#19761 opened
Aug 29, 2025 -
Incorrect argument names for dataclass with "private" (mangled) members
#19755 opened
Aug 29, 2025 -
Type narrowing an enum shouldn't narrow to a literal
#19753 opened
Aug 28, 2025 -
Incremental improvements to the fixed format serialization
#19738 opened
Aug 26, 2025 -
stubtest: don't enforce `@disjoint_base` by default until PEP 800 is accepted
#19737 opened
Aug 26, 2025 -
stubtest: incorrect runtime signature of cython `__cinit__` methods
#19732 opened
Aug 25, 2025 -
`dataclass_transform` decorator not detected when using alias
#19731 opened
Aug 25, 2025 -
Clarify + validate python_version
#19729 opened
Aug 25, 2025 -
redundant-expr does not catch always-True `if`
#19728 opened
Aug 25, 2025 -
Incorrect str-format error for bytes interpolation when `__bytes__` method exists
#19724 opened
Aug 25, 2025 -
Incorrect error for unions syntax in comments and strings (Python 3.9)
#19722 opened
Aug 24, 2025 -
Type aliases inside dataclass definitions are not supported at runtime inside of if TYPE_CHECKING
#19706 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 -
Uncaught Error in Assignment of type Iterator[int] to type Iterator[str]
#19675 opened
Aug 17, 2025 -
Type-narrowing based on instance type
#19671 opened
Aug 15, 2025 -
Make enums idempotent
#19669 opened
Aug 15, 2025 -
`mypy` doesn't understand that `*args: P.args` implies that `args` is a `tuple`
#19663 opened
Aug 15, 2025 -
`mypy` fails to correctly understand some iterable type in `*args`
#19662 opened
Aug 15, 2025 -
Cannot instantiate type "Type[None]"
#19660 opened
Aug 14, 2025 -
Mypy 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 -
Type alias and union wrong revealed type
#19640 opened
Aug 11, 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 -
TypeGuard behavior does not match python semantics in async functions
#19608 opened
Aug 7, 2025 -
`Final` nested inside `ClassVar` results in `Any`
#19607 opened
Aug 7, 2025 -
Complete bi-directional linking between cli-flags/configs and error codes
#19603 opened
Aug 7, 2025 -
Configuration file entries for stubgen
#19602 opened
Aug 7, 2025 -
Matching tuple against union merges field types
#19599 opened
Aug 6, 2025 -
private (name mangled) attributes within inherited classes can not have different types
#19598 opened
Aug 6, 2025 -
Should there be a mypy-path command-line flag?
#19597 opened
Aug 6, 2025 -
Consider an `__eq__` that always raises as non-overlapping for equality purposes?
#19595 opened
Aug 5, 2025 -
Self type is not expanded correctly when accessed on a type variable with union bound
#19584 opened
Aug 4, 2025
98 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 25, 2025 • 12 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Sep 2, 2025 • 10 new comments -
feat(test): mypyc tests for container creation from `range`
#19511 commented on
Aug 26, 2025 • 7 new comments -
[mypyc] feat: cache len for container creation from expressions with length known at compile time
#19503 commented on
Aug 30, 2025 • 6 new comments -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Aug 23, 2025 • 2 new comments -
Improve match statement union narrowing/inference
#17600 commented on
Aug 3, 2025 • 2 new comments -
feat(mypyc): proper weakref support
#19056 commented on
Aug 7, 2025 • 0 new comments -
Enable warn_unreachable = True for `mypyc` and all other files as well
#19050 commented on
Aug 15, 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
Aug 15, 2025 • 0 new comments -
[PEP 747] Recognize TypeForm[T] type and values (#9773)
#18690 commented on
Aug 5, 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 -
Add special handling for typing.get_args
#17784 commented on
Aug 6, 2025 • 0 new comments -
Add GitHub annotations format for `--output`
#17771 commented on
Aug 5, 2025 • 0 new comments -
Support name mangling
#16715 commented on
Sep 1, 2025 • 0 new comments -
Fix binding difference between callables and callback protocols
#15993 commented on
Aug 31, 2025 • 0 new comments -
Allow any type to be returned by `__new__`
#14471 commented on
Aug 9, 2025 • 0 new comments -
Faster, parallel type checking
#933 commented on
Sep 2, 2025 • 0 new comments -
Crash on diverging recursive generic protocols
#17326 commented on
Sep 2, 2025 • 0 new comments -
False positive - Type narrowing of class attributes
#17537 commented on
Sep 2, 2025 • 0 new comments -
AssertionError: Must not defer during final iteration
#17716 commented on
Sep 2, 2025 • 0 new comments -
Passing self to a generic function that accepts Self
#17723 commented on
Sep 2, 2025 • 0 new comments -
Mypy should allow for Self in parametrized parent class definition — issues with contextlib.AbstractContextManager
#17758 commented on
Sep 2, 2025 • 0 new comments -
Mypyc: Crash when using property deleter
#17928 commented on
Sep 2, 2025 • 0 new comments -
a pretty bad bug report about a segfault, but at least I can show you the repo
#18195 commented on
Sep 2, 2025 • 0 new comments -
[regression] no type checking beyond perceived isinstance guard failure
#18329 commented on
Sep 2, 2025 • 0 new comments -
type of variable not narrowed after `continue` statement inside `try`/`except` block inside a for loop inside a function
#18466 commented on
Sep 2, 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 -
refactor `visit_conditional_expr` to fix ternary behavior (option 1)
#19563 commented on
Aug 12, 2025 • 0 new comments -
Update update_data.py: make the space in error comments optional
#19546 commented on
Aug 7, 2025 • 0 new comments -
[wip] [mypyc] feat: quasi-constant folding for DictExpr and TupleExpr
#19542 commented on
Aug 3, 2025 • 0 new comments -
[wip] [mypyc] feat: unroll certain for loops with known params
#19518 commented on
Aug 3, 2025 • 0 new comments -
[match-case] Fix narrowing of class pattern with union-argument.
#19517 commented on
Aug 12, 2025 • 0 new comments -
feat: index-range err code
#19513 commented on
Aug 4, 2025 • 0 new comments -
When selecting an overload item for constraint template matching, treat any ParamSpec in the template as free
#19487 commented on
Aug 28, 2025 • 0 new comments -
feat: `__repr__` method for RefExpr and NameExpr
#19486 commented on
Aug 21, 2025 • 0 new comments -
[match-case] fix matching against `typing.Callable` and `Protocol` types.
#19471 commented on
Aug 4, 2025 • 0 new comments -
[PEP 695] Fix incorrect Variance Computation with Polymorphic Methods.
#19466 commented on
Sep 2, 2025 • 0 new comments -
Apply union expansion when checking ops involving typevars
#19455 commented on
Aug 28, 2025 • 0 new comments -
[PEP 696] Fix swapping TypeVars with defaults.
#19449 commented on
Aug 4, 2025 • 0 new comments -
Add functools.lru_cache plugin support Fixes #16261
#19432 commented on
Aug 17, 2025 • 0 new comments -
Draft: Solve intermediate variable bug
#19399 commented on
Aug 16, 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 -
[mypyc] Implement `str.lower()` and `str.upper()` primitive
#19375 commented on
Sep 2, 2025 • 0 new comments -
Fix `Enum.value` inference for `Enum`s with `@cache`d methods
#19374 commented on
Sep 2, 2025 • 0 new comments -
Allow TypeVarTuple arguments to subclasses of generic TypedDict
#19234 commented on
Aug 5, 2025 • 0 new comments -
Handle `__hash__ = None` in somewhat more intuitive fashion
#19168 commented on
Aug 15, 2025 • 0 new comments -
Fix/attrs init overload
#19104 commented on
Aug 19, 2025 • 0 new comments -
Improve cli help somewhat
#19073 commented on
Aug 3, 2025 • 0 new comments -
generic is incorrectly inferred as invariant if class uses `Self` type on an attribute
#18334 commented on
Sep 2, 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 -
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 -
Mypyc should support `__file__`
#17795 commented on
Aug 7, 2025 • 0 new comments -
--strict does not include all mypy checks
#14143 commented on
Aug 7, 2025 • 0 new comments -
Include binary wheels for ARM Windows
#18593 commented on
Aug 6, 2025 • 0 new comments -
Importing IPython confuses mypy about package '__main__.py'
#19500 commented on
Aug 5, 2025 • 0 new comments -
IntEnum literals are not considerable comparable with ints
#16327 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 -
[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 -
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 -
Unexpected order dependence when assigning to multiple targets
#19553 commented on
Aug 3, 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 -
Dataclasses: `No overload variant of "asdict" matches argument type "Self" [call-overload]` when deciding decorator conditionally
#17242 commented on
Aug 31, 2025 • 0 new comments -
Code review request: support for asdict returning TypedDict
#10104 commented on
Aug 31, 2025 • 0 new comments -
dmypy Suggest assertion error in `bind_function_type_variables`
#16708 commented on
Aug 30, 2025 • 0 new comments -
Mypy misunderstands class-level namespace (spurious `Variable "module.Class.attribute" is not valid as a type`)
#12570 commented on
Aug 28, 2025 • 0 new comments -
setting `exclude_gitignore = true` breaks stubtest
#19281 commented on
Aug 28, 2025 • 0 new comments -
Different branch of match statement mix type information about similar named variables
#12650 commented on
Aug 27, 2025 • 0 new comments -
Type narrowing on object attribute with match statement doesn't apply
#14911 commented on
Aug 27, 2025 • 0 new comments -
Lazily process installed packages
#17924 commented on
Aug 25, 2025 • 0 new comments -
stubgen and Cython modules
#7542 commented on
Aug 25, 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 -
Type alias over generic parameter in generic class produces an error
#17956 commented on
Aug 22, 2025 • 0 new comments -
ABCMeta.register support
#2922 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 -
mypy is slow when type checking torch
#17919 commented on
Aug 21, 2025 • 0 new comments -
[stubtest] Check `__slots__` better
#13906 commented on
Aug 21, 2025 • 0 new comments -
Covariance is not inferred for NamedTuple and frozen Dataclasses
#17623 commented on
Aug 20, 2025 • 0 new comments -
Faster cache deserialization
#3456 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 -
'Subclass of "A" and "B" cannot exist: would have incompatible method signatures' is usually wrong
#19377 commented on
Aug 18, 2025 • 0 new comments -
functools.partialmethod not supported properly?
#8619 commented on
Aug 17, 2025 • 0 new comments -
Type narrowing when list variable is reassigned
#19528 commented on
Aug 17, 2025 • 0 new comments -
mypy rejects unpacking into same variable
#14786 commented on
Aug 16, 2025 • 0 new comments -
Can't call get on an empty dict
#17684 commented on
Aug 16, 2025 • 0 new comments -
Unable to specify a default value for a generic parameter
#3737 commented on
Aug 13, 2025 • 0 new comments