GitHub / python/mypy issues and pull requests
#19455 - Apply union expansion when checking ops to typevars
Pull Request -
State: open - Opened by sterliakov 16 days ago
#19454 - Comparison operators emit "Unsupported operand types" when using `isinstance` to narrow `TypeVar` to union of numeric types
Issue -
State: open - Opened by bkeryan 16 days ago
Labels: bug
#19453 - Prevent a crash when InitVar is redefined with a method in a subclass
Pull Request -
State: closed - Opened by sterliakov 16 days ago
- 1 comment
#19450 - [mypyc] Report error when registering a nested function
Pull Request -
State: closed - Opened by p-sawicki 16 days ago
#19448 - Fix swapping TypeVars with defaults.
Pull Request -
State: closed - Opened by randolf-scholz 16 days ago
- 1 comment
#19447 - Fix typevar default swapping with defaults
Pull Request -
State: open - Opened by randolf-scholz 16 days ago
#19446 - Sync typeshed
Pull Request -
State: closed - Opened by cdce8p 16 days ago
- 2 comments
#19445 - [mypyc] Refactor: make LoadMem not borrow by default
Pull Request -
State: closed - Opened by JukkaL 16 days ago
#19444 - [PEP 696] Assigning to type variables with defaults gives unexpected results
Issue -
State: open - Opened by randolf-scholz 16 days ago
Labels: bug
#19440 - Sync typeshed
Pull Request -
State: open - Opened by github-actions[bot] 17 days ago
#19439 - [PEP 695] Incorrect Variance Computation with Polymorphic Constructor.
Issue -
State: open - Opened by randolf-scholz 17 days ago
Labels: bug
#19438 - mypy does not type check arguments to `Annotated`
Issue -
State: closed - Opened by eltoder 17 days ago
- 1 comment
Labels: bug
#19437 - [mypyc] Add SetElement op for initializing struct values
Pull Request -
State: open - Opened by JukkaL 17 days ago
#19437 - [mypyc] Add SetElement op for initializing struct values
Pull Request -
State: closed - Opened by JukkaL 17 days ago
#19436 - Updates to 1.17 changelog
Pull Request -
State: closed - Opened by JukkaL 17 days ago
#19435 - [mypyc] Add primitives for isinstance of built-in types
Pull Request -
State: open - Opened by p-sawicki 17 days ago
#19435 - [mypyc] Add primitives for isinstance of built-in types
Pull Request -
State: closed - Opened by p-sawicki 17 days ago
#19434 - [mypyc] Simplify IR generated for "for" loops over strings
Pull Request -
State: closed - Opened by JukkaL 17 days ago
#19433 - `func-returns-value` false positive for union type?
Issue -
State: open - Opened by asottile 18 days ago
Labels: bug
#19432 - Add functools.lru_cache plugin support Fixes #16261
Pull Request -
State: open - Opened by machin0r 18 days ago
- 2 comments
#19431 - feat(overloads): Expand finite sum types into a union of possible types
Pull Request -
State: open - Opened by mimre25 18 days ago
- 1 comment
#19430 - Walrus narrowing not propagated from inside expression
Issue -
State: open - Opened by hauntsaninja 19 days ago
- 4 comments
Labels: bug, topic-pep-572, good-second-issue, topic-type-narrowing
#19429 - Mypy configuration is incomplete
Issue -
State: open - Opened by heyshahabuddin 19 days ago
- 1 comment
Labels: bug, pending
#19428 - Fix "ignored exception in `hasattr`" in dmypy
Pull Request -
State: open - Opened by sterliakov 20 days ago
- 1 comment
#19427 - Initial changelog for 1.17 release
Pull Request -
State: closed - Opened by esarp 20 days ago
#19426 - [mypyc] Use native integers for some sequence indexing operations
Pull Request -
State: closed - Opened by JukkaL 20 days ago
#19425 - AssertionError raised after #19248
Issue -
State: open - Opened by SemMulder 20 days ago
- 8 comments
Labels: bug, topic-daemon
#19424 - [mypyc] Remove the unused CPyList_GetItemUnsafe primitive
Pull Request -
State: closed - Opened by JukkaL 20 days ago
#19423 - [mypyc] Add a few native int helper irbuilder methods
Pull Request -
State: closed - Opened by JukkaL 20 days ago
#19422 - Support attribute access on enum members correctly
Pull Request -
State: open - Opened by sterliakov 21 days ago
- 1 comment
#19421 - `array` generic changes type in isinstance check
Issue -
State: closed - Opened by InvincibleRMC 21 days ago
- 4 comments
Labels: bug, topic-type-variables, topic-type-narrowing, pending
#19420 - [mypyc] Fail run test if default driver does not find test cases
Pull Request -
State: closed - Opened by p-sawicki 21 days ago
#19419 - [mypyc] Add back test for next with list iterator
Pull Request -
State: closed - Opened by p-sawicki 21 days ago
#19418 - Type of an Enum nonmember is wrong when accessed through a member
Issue -
State: open - Opened by cfriedland5 21 days ago
Labels: bug, topic-enum
#19417 - Move `is_defined_in_stub` to shared checker API to break import cycle
Pull Request -
State: closed - Opened by sterliakov 22 days ago
- 1 comment
#19416 - [mypyc] Use PyList_Check for isinstance(obj, list)
Pull Request -
State: closed - Opened by p-sawicki 22 days ago
#19415 - [mypyc] Speed up for loop over native generator
Pull Request -
State: closed - Opened by JukkaL 22 days ago
#19414 - `NamedTuple`'s `_tuplegetter` is not recognized
Issue -
State: open - Opened by Gatsik 22 days ago
Labels: topic-named-tuple, topic-runtime-semantics
#19413 - Unsupported operand types for + ("list[None]" and "list[str]")
Issue -
State: closed - Opened by randolf-scholz 22 days ago
- 3 comments
Labels: bug
#19412 - RuntimeError: Not implemented mypy.types.TypeGuardedType
Issue -
State: closed - Opened by gopidesupavan 22 days ago
- 6 comments
Labels: crash
#19411 - Detect missing or incorrect overload defaults
Issue -
State: open - Opened by MarcoGorelli 22 days ago
- 4 comments
Labels: feature
#19410 - False-positive [attr-defined] when importing classes and functions from a file with the same name as the parent package
Issue -
State: open - Opened by ArrayBolt3 23 days ago
Labels: bug
#19409 - Remove duplicated constraints before solving and deduplicate `fast_container_type` items
Pull Request -
State: open - Opened by sterliakov 23 days ago
- 10 comments
#19408 - perf: try to cache inner contexts of overloads
Pull Request -
State: open - Opened by sterliakov 23 days ago
- 5 comments
#19407 - [mypyc] Report error on reserved method name
Pull Request -
State: closed - Opened by p-sawicki 23 days ago
#19406 - [mypyc] Add is_bool_or_bit_rprimitive
Pull Request -
State: closed - Opened by p-sawicki 23 days ago
#19405 - More shards for `mypy-primer`
Pull Request -
State: closed - Opened by randolf-scholz 23 days ago
- 4 comments
#19404 - feat: add helpful info to internal AssertionError excs
Pull Request -
State: closed - Opened by BobTheBuidler 23 days ago
- 2 comments
#19403 - [CI]: `mypy-primer(0)` timeout due to long checking of `colour`
Issue -
State: open - Opened by randolf-scholz 23 days ago
- 11 comments
Labels: topic-developer
#19402 - [mypyc] Add faster primitive for string equality
Pull Request -
State: closed - Opened by JukkaL 23 days ago
#19401 - [mypyc] Add tests for string equality
Pull Request -
State: closed - Opened by JukkaL 23 days ago
- 1 comment
#19400 - perf: return from `is_subtype` early
Pull Request -
State: open - Opened by sterliakov 23 days ago
- 10 comments
#19399 - Draft: Solve intermediate variable bug
Pull Request -
State: open - Opened by randolf-scholz 23 days ago
- 2 comments
#19398 - [mypyc] Speed up native-to-native calls using await
Pull Request -
State: closed - Opened by JukkaL 23 days ago
#19397 - perf: add `__slots__` to `SubtypeContext`
Pull Request -
State: closed - Opened by ngnpope 23 days ago
- 7 comments
#19396 - [mypyc] Simplify comparison of tuple elements
Pull Request -
State: closed - Opened by p-sawicki 24 days ago
- 2 comments
#19395 - [mypyc] Raise NameError on undefined names
Pull Request -
State: closed - Opened by p-sawicki 24 days ago
#19394 - perf: add `__slots__` to `SubtypeVisitor`
Pull Request -
State: closed - Opened by sterliakov 24 days ago
- 1 comment
#19393 - [pre-commit.ci] pre-commit autoupdate
Pull Request -
State: open - Opened by pre-commit-ci[bot] 24 days ago
- 1 comment
#19392 - Erroneous "Self argument missing" error when decorators are used
Issue -
State: open - Opened by hvenev 24 days ago
- 1 comment
Labels: bug
#19391 - Match on tuples and possibly-undefined
Issue -
State: closed - Opened by pabloestevez94 24 days ago
Labels: bug, topic-match-statement, topic-type-narrowing
#19390 - [mypyc] Use per-type free "lists" for nested functions
Pull Request -
State: closed - Opened by JukkaL 24 days ago
- 1 comment
#19389 - Packaging: license declaration uses outdated format to-be removed Feb. 18, 2026
Issue -
State: open - Opened by sterliakov 24 days ago
- 2 comments
Labels: topic-developer
#19388 - Remove all nested imports from default plugin
Pull Request -
State: closed - Opened by ilevkivskyi 24 days ago
- 2 comments
#19387 - Create Cqrnewinvest bot
Pull Request -
State: closed - Opened by Shinader123 25 days ago
- 1 comment
#19386 - Feature: Clear type info on del for local inferred variables (fixes #10005)
Pull Request -
State: open - Opened by brxno3107 25 days ago
- 1 comment
#19385 - Speed up the default plugin
Pull Request -
State: closed - Opened by JukkaL 25 days ago
- 2 comments
#19384 - Subtype checking micro-optimization
Pull Request -
State: closed - Opened by JukkaL 25 days ago
- 3 comments
#19383 - [mypyc] Add support for C string literals in the IR
Pull Request -
State: closed - Opened by JukkaL 25 days ago
#19382 - Try to fix problems caused by in-place modification of typevar defaults
Pull Request -
State: open - Opened by sterliakov 26 days ago
- 1 comment
#19381 - overload, Protocol and generic self: annotations
Issue -
State: open - Opened by Alan-Chen99 26 days ago
Labels: bug, topic-protocols, topic-overloads, topic-self-types
#19380 - Enable --pretty by default
Pull Request -
State: open - Opened by victorletichevsky 26 days ago
- 1 comment
#19379 - Support type checking code fragment in profile script
Pull Request -
State: closed - Opened by JukkaL 27 days ago
- 1 comment
#19378 - [mypyc] Fix error value check for GetAttr that allows nullable values
Pull Request -
State: closed - Opened by JukkaL 27 days ago
#19377 - 'Subclass of "A" and "B" cannot exist: would have incompatible method signatures' is usually wrong
Issue -
State: open - Opened by JelleZijlstra 27 days ago
- 4 comments
Labels: bug, topic-reachability, topic-inheritance
#19376 - [mypyc] Call generator helper method directly in await expression
Pull Request -
State: closed - Opened by JukkaL 27 days ago
#19375 - [mypyc] Implement `str.lower()` and `str.upper()` primitive
Pull Request -
State: open - Opened by Jahongir-Qurbonov 27 days ago
Labels: topic-mypyc
#19374 - Fix `Enum.value` inference for `Enum`s with `@cache`d methods
Pull Request -
State: open - Opened by kmurphy4 27 days ago
- 4 comments
#19373 - Type statement inside class scope not able to reference class generics
Issue -
State: open - Opened by ruipin 27 days ago
Labels: bug, topic-type-variables, topic-pep-695
#19372 - [mypyc] Fix comparison of tuples with different lengths
Pull Request -
State: closed - Opened by p-sawicki 28 days ago
- 1 comment
Labels: topic-mypyc
#19371 - Bump version to 1.18.0+dev
Pull Request -
State: closed - Opened by esarp 28 days ago
- 1 comment
#19370 - [mypyc] Document some of our inheritance conventions
Pull Request -
State: closed - Opened by JukkaL 29 days ago
Labels: topic-mypyc
#19369 - Assignment to field of typed dict doesn't change its (field) type
Issue -
State: open - Opened by RomanValov 29 days ago
Labels: bug, topic-typed-dict, topic-type-narrowing
#19368 - `Enum.value` typed as `Any` when using `functools.cache`
Issue -
State: open - Opened by kmurphy4 30 days ago
- 4 comments
Labels: bug, topic-enum
#19367 - Better binding with implicit type variables
Issue -
State: closed - Opened by randolf-scholz about 1 month ago
- 6 comments
Labels: bug, question, topic-inference
#19366 - `type: ignore` command not recognized after other comment
Issue -
State: open - Opened by Paulchen5 about 1 month ago
- 4 comments
Labels: feature, topic-parser, topic-type-ignore, pending
#19365 - Inconsistent behaviour when updating a typed dict with a "subset" typeddict
Issue -
State: closed - Opened by Alexandre-SCHOEPP about 1 month ago
- 8 comments
Labels: bug, topic-typed-dict, topic-error-reporting, topic-calls
#19364 - Sync typeshed
Pull Request -
State: closed - Opened by github-actions[bot] about 1 month ago
- 1 comment
#19363 - dmypy does not catch `--warn-unused-ignores` in successive runs
Issue -
State: closed - Opened by clambert-jt about 1 month ago
- 2 comments
Labels: bug, pending
#19362 - Order dependent `override` error when subclassing with multiple typevars with defaults
Issue -
State: open - Opened by randolf-scholz about 1 month ago
Labels: bug, topic-type-variables
#19361 - [mypyc] Fix AttributeError in async try/finally with mixed return paths
Pull Request -
State: closed - Opened by Chainfire about 1 month ago
- 2 comments
#19360 - Allow defining type for dynamically generated types.
Issue -
State: open - Opened by albertferras-vrf about 1 month ago
- 4 comments
Labels: feature, topic-plugins
#19359 - Internal error: KeyError 'setter_type' during node deserialization
Issue -
State: open - Opened by ahmedelq about 1 month ago
- 3 comments
Labels: topic-incremental, crash
#19358 - Do not show protocol compatibility note against unpacked sequence or mapping
Pull Request -
State: closed - Opened by sterliakov about 1 month ago
- 1 comment
#19357 - Unexpected error using Union[] as the argument to the value field of a dictionary
Issue -
State: closed - Opened by sborisch about 1 month ago
- 3 comments
Labels: bug
#19356 - Remove unnecessary workarounds from bind_self()
Pull Request -
State: closed - Opened by ilevkivskyi about 1 month ago
- 1 comment
#19355 - Code after `yield from` a generator that cannot end should be unreachable
Issue -
State: open - Opened by A5rocks about 1 month ago
- 1 comment
Labels: bug, topic-reachability
#19354 - Fix wrong names listed in "too few arguments" message
Pull Request -
State: open - Opened by sterliakov about 1 month ago
- 1 comment
#19353 - [mypyc] Fix exception swallowing in async try/finally blocks with await
Pull Request -
State: closed - Opened by Chainfire about 1 month ago
- 9 comments
Labels: topic-mypyc
#19352 - Support `_value_` as a fallback for ellipsis Enum members
Pull Request -
State: closed - Opened by sterliakov about 1 month ago
- 6 comments