GitHub / python/mypy issues and pull requests
#20650 - Passing an unpacked dictionary and keyword arguments to `**kwargs` gets unexpected errors
Issue -
State: closed - Opened by hyperkai 17 days ago
- 2 comments
Labels: bug
#20607 - Type narrowing not propagated through method call with raise statements for class fields
Issue -
State: closed - Opened by phyalexander 25 days ago
- 3 comments
Labels: feature
#20514 - Support per-module strict config
Pull Request -
State: open - Opened by hauntsaninja about 1 month ago
- 4 comments
#20214 - Update librt dependency to 0.5.0
Pull Request -
State: closed - Opened by JukkaL 3 months ago
- 1 comment
#20213 - Documentation: type[BaseClass] accepting subclasses
Issue -
State: open - Opened by paulocheque 3 months ago
Labels: bug, topic-mypyc
#20210 - chore: fix typo in comment
Pull Request -
State: closed - Opened by BobTheBuidler 3 months ago
#20202 - Do not push partial types to the binder
Pull Request -
State: open - Opened by sterliakov 3 months ago
- 1 comment
Labels: crash
#20194 - Micro-optimize cache primitives in librt.internal
Pull Request -
State: closed - Opened by JukkaL 3 months ago
- 3 comments
#20184 - Constrained TypeVars with Any default
Issue -
State: open - Opened by srittau 3 months ago
- 2 comments
Labels: bug, topic-type-variables
#20122 - Enhance type resolution for instance variables
Pull Request -
State: open - Opened by neopexrl 4 months ago
- 2 comments
#20094 - Fix annotated with function as type keyword list parameter
Pull Request -
State: open - Opened by KarelKenens 4 months ago
- 5 comments
#20088 - Use fixed format for cache metas
Pull Request -
State: open - Opened by ilevkivskyi 4 months ago
- 1 comment
#20087 - Frozen dataclasses should have an implicit Final annotation on its members
Issue -
State: open - Opened by alecov 4 months ago
- 2 comments
Labels: bug, topic-dataclasses, topic-pep-695
#20083 - Do not emit unreachable warnings for lines that return `NotImplemented`.
Pull Request -
State: closed - Opened by tyralla 4 months ago
- 3 comments
#20081 - Allow type parameters reusing the name missing from current module
Pull Request -
State: open - Opened by sterliakov 4 months ago
- 2 comments
Labels: crash
#20079 - scipy-stubs: `scipy.optimize.least_squares` function inferred as module
Issue -
State: open - Opened by jorenham 4 months ago
- 3 comments
Labels: bug, topic-runtime-semantics
#20075 - Make metas more compact; fix indirect suppression
Pull Request -
State: open - Opened by ilevkivskyi 4 months ago
- 2 comments
#20072 - Planned work related to fixed-format serialization
Issue -
State: open - Opened by JukkaL 4 months ago
- 14 comments
Labels: feature, topic-incremental, meta
#20069 - Support writing/reading bytes in librt.internal
Pull Request -
State: closed - Opened by ilevkivskyi 4 months ago
- 8 comments
#20068 - Emit `redundant-expr` warnings for if statements that are always true or always false.
Pull Request -
State: open - Opened by tyralla 4 months ago
- 12 comments
#20067 - "error: only instance methods can be decorated with @property" is incorrect for Python 3.9 and later
Issue -
State: open - Opened by zackw 4 months ago
Labels: bug
#20066 - Remove incorrect platform restriction for `zlib.ZLIBNG_VERSION`
Pull Request -
State: closed - Opened by StanFromIreland 4 months ago
- 4 comments
#20065 - Fix typo in generics documentation
Pull Request -
State: closed - Opened by guoci 4 months ago
- 1 comment
#20064 - Stubtest crashes if an `@overload` is decorated
Issue -
State: open - Opened by jorenham 4 months ago
- 1 comment
Labels: crash
#20063 - stubtest: include function name in overload assertion messages
Pull Request -
State: closed - Opened by jorenham 4 months ago
#20062 - Define and document workflows for librt updates
Issue -
State: open - Opened by JukkaL 4 months ago
- 4 comments
Labels: topic-developer
#20061 - Issue when `self` is typed as a `Protocol`
Issue -
State: open - Opened by cmp0xff 4 months ago
Labels: bug
#20060 - `--warn-unreachable` doesn't flag unnecessary comparison to `None`
Issue -
State: open - Opened by A5rocks 4 months ago
Labels: bug, topic-reachability
#20059 - Complex paraspec handling cause Internal error (IndexError: list index out of range) at `check_override`
Issue -
State: open - Opened by Taiquan-Liu 4 months ago
- 1 comment
Labels: crash, topic-paramspec
#20058 - `Literal["..."]`s incorrectly assignable to protocol with `__getitem__(slice) -> Self`
Issue -
State: open - Opened by decorator-factory 4 months ago
Labels: bug, topic-protocols, topic-literal-types
#20057 - Union interacts poorly with `isinstance`-based unreachability
Issue -
State: open - Opened by A5rocks 4 months ago
Labels: bug, topic-reachability
#20056 - Make --pretty work better on multi-line issues
Pull Request -
State: closed - Opened by A5rocks 4 months ago
- 1 comment
#20055 - mypy 1.18.x crashes (INTERNAL ERROR) on a pydantic v1.x definition
Issue -
State: closed - Opened by adamhadani 4 months ago
- 4 comments
Labels: bug, crash
#20054 - Prevent assignment to None for non-Optional class variables
Pull Request -
State: open - Opened by hauntsaninja 4 months ago
- 1 comment
Labels: deferred
#20053 - Switch to a more dynamic SCC processing logic
Pull Request -
State: open - Opened by ilevkivskyi 4 months ago
- 6 comments
#20052 - fix: Ignore empty error codes from 'type: ignore'
Pull Request -
State: open - Opened by codenamenam 4 months ago
- 3 comments
#20051 - [MyPyC][1.18.*] TypeError: ..._gen object expected; got coroutine
Issue -
State: closed - Opened by paulocheque 4 months ago
- 2 comments
Labels: bug
#20050 - Bump version of wasilibs/go-shellcheck to fix lint on Windows
Pull Request -
State: open - Opened by wyattscarpenter 4 months ago
- 3 comments
#20049 - inventory and health logger
Issue -
State: closed - Opened by divyanshrai764-boop 4 months ago
- 1 comment
Labels: bug
#20048 - Document the fact that that using a type ignore of a broader ignore when a subcode exists triggers unused ignore
Pull Request -
State: open - Opened by wyattscarpenter 4 months ago
Labels: documentation
#20047 - WIP: try to exclude outer context from overload selection process entirely?
Pull Request -
State: open - Opened by sterliakov 4 months ago
- 2 comments
#20046 - Prevent TypeGuardedType leak from `narrow_declared_type` as part of typevar bound
Pull Request -
State: closed - Opened by sterliakov 4 months ago
- 2 comments
Labels: crash
#20045 - prevent false unreachable warnings for @final instances that occur when strict optional checking is disabled
Pull Request -
State: closed - Opened by tyralla 4 months ago
- 3 comments
#20044 - [mypyc] Fix inheritance of async defs
Pull Request -
State: closed - Opened by JukkaL 4 months ago
- 1 comment
#20043 - [mypyc] Refactor: adjust generator return types in a later pass
Pull Request -
State: closed - Opened by JukkaL 4 months ago
#20042 - Check class references to catch non-existant classes in match cases
Pull Request -
State: closed - Opened by A5rocks 4 months ago
- 5 comments
Labels: upnext
#20041 - Use `type(var) is T` to Narrow Types
Issue -
State: open - Opened by George-Ogden 4 months ago
Labels: feature, topic-type-narrowing
#20040 - Bump librt again
Pull Request -
State: closed - Opened by ilevkivskyi 4 months ago
- 1 comment
#20039 - Documentation : Adding missing reveal_type imports in cheat_sheet_py3.rst
Pull Request -
State: open - Opened by GeoffreyOnRails 4 months ago
- 4 comments
#20038 - Using commas wrong in a type ignore makes there be an error code in there that is the empty string
Issue -
State: open - Opened by wyattscarpenter 4 months ago
- 3 comments
Labels: bug, topic-type-ignore
#20037 - Re-run pip-compile to get rid of yanked version of virtualenv
Pull Request -
State: closed - Opened by ilevkivskyi 4 months ago
- 1 comment
#20036 - Do not sort unused error codes in unused error codes warning
Pull Request -
State: closed - Opened by wyattscarpenter 4 months ago
- 2 comments
#20035 - ajout du test unitaire issue_scope.test
Pull Request -
State: closed - Opened by ines-bg 4 months ago
- 1 comment
#20034 - modification fichier scope.py
Pull Request -
State: closed - Opened by lamia-bel 4 months ago
- 5 comments
#20033 - test_scope_behavior.py
Pull Request -
State: closed - Opened by Sabine22-alt 4 months ago
- 1 comment
#20032 - [mypyc] feat: implement try_getting_literal in `in` rtuple helper [1/1]
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
#20031 - Update test requirements snapshot
Pull Request -
State: closed - Opened by ilevkivskyi 4 months ago
- 3 comments
#20030 - Update shellcheck version in actionlint pre-commit to 0.11.0
Pull Request -
State: closed - Opened by msullivan 4 months ago
- 3 comments
#20029 - Run CI for Python 3.14.0 and free-threading
Pull Request -
State: open - Opened by cdce8p 4 months ago
- 5 comments
#20027 - Invalid type revealed when type var uses another type var as default
Issue -
State: open - Opened by sobolevn 4 months ago
- 4 comments
Labels: bug, topic-type-variables, topic-pep-696
#20026 - [nit] clarify comment about deprecation warnings about \u
Pull Request -
State: closed - Opened by wyattscarpenter 4 months ago
- 1 comment
Labels: upnext
#20024 - Fix infinite loop on empty Buffer
Pull Request -
State: open - Opened by ilevkivskyi 4 months ago
#20023 - Filter SyntaxWarnings during AST parsing
Pull Request -
State: open - Opened by cdce8p 4 months ago
#20022 - Make lib-rt/setup.py similar to mypyc extensions
Pull Request -
State: closed - Opened by ilevkivskyi 4 months ago
#20021 - Fix `[name-defined]` false-positive in `class A[X, Y=X]:` case
Pull Request -
State: closed - Opened by sobolevn 4 months ago
- 4 comments
#20020 - `[name-defined]` when PEP-696 type var uses another type var as default
Issue -
State: closed - Opened by sobolevn 4 months ago
- 2 comments
Labels: bug, topic-type-variables, topic-pep-696
#20019 - Narrowing TypeVar does not narrow enough types
Issue -
State: closed - Opened by eltoder 4 months ago
- 2 comments
Labels: bug, topic-type-variables, topic-type-narrowing
#20018 - False negative attr-defined in match case
Issue -
State: closed - Opened by vepain 4 months ago
- 1 comment
Labels: bug, topic-match-statement
#20017 - Line number missing from "note" message when running with cache
Issue -
State: closed - Opened by pmantion 4 months ago
Labels: bug
#20016 - Incorrect method name in cached overload "note" messages
Issue -
State: open - Opened by pmantion 4 months ago
Labels: bug
#20015 - NotImplementedError: Cannot serialize TypeGuardedType instance
Issue -
State: closed - Opened by skywall 4 months ago
- 3 comments
Labels: crash
#20014 - Rename native_internal to librt.internal
Pull Request -
State: open - Opened by ilevkivskyi 4 months ago
#20013 - Sequences of attrs validators
Issue -
State: open - Opened by AdrianSosic 4 months ago
Labels: bug
#20012 - [mypyc] feat: improve LoadLiteral annotation determinism
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
- 6 comments
#20011 - Type annotation on method parameter is resolved using attrs class instance variables
Issue -
State: closed - Opened by injust 4 months ago
- 1 comment
Labels: bug, topic-runtime-semantics, topic-variable-scope
#20010 - Pin librt version
Pull Request -
State: open - Opened by ilevkivskyi 4 months ago
#20009 - Adjust stubtest test stubs for PEP 728 (Python 3.15)
Pull Request -
State: closed - Opened by cdce8p 4 months ago
Labels: topic-typed-dict, topic-stubtest
#20009 - Adjust stubtest test stubs for PEP 728 (Python 3.15)
Pull Request -
State: open - Opened by cdce8p 4 months ago
#20008 - Do not check LSP compatibility of `plugin_generated` nodes
Issue -
State: open - Opened by sterliakov 4 months ago
- 4 comments
Labels: feature, topic-plugins
#20007 - [stubtest] Improve `allowlist` docs with better example
Pull Request -
State: closed - Opened by sobolevn 4 months ago
#20006 - `mypy` nightly crashes with `ModuleNotFoundError: No module named 'native_internal'`
Issue -
State: open - Opened by cmp0xff 4 months ago
Labels: crash
#20005 - Make enums idempotent
Pull Request -
State: closed - Opened by JTCRicardo 4 months ago
- 2 comments
#20003 - [mypyc] feat: use exact_dict_rprimitive for non-native class dict rtype [2/2]
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
#20001 - [mypyc] feat: use exact_dict_rprimitive for star2 arg rtype [2/2]
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
#20000 - [docs] Replace `List` with built‑in `list` (PEP 585)
Pull Request -
State: closed - Opened by gacheiro 4 months ago
#19999 - [mypyc] feat: use exact dict getitem op for module dict lookup
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
#19998 - False positive when using ternary statement
Issue -
State: open - Opened by ngnpope 4 months ago
- 1 comment
Labels: bug, topic-type-context
#19996 - INTERNAL ERROR with allow_redefinition_new and undeclared instance variables
Issue -
State: open - Opened by bernikr 4 months ago
- 4 comments
Labels: crash, topic-inference
#19995 - Incorrect "Alternative patterns bind different names" with mapping capture statements
Issue -
State: open - Opened by A5rocks 4 months ago
#19994 - Fixes #15127: Added optional error code to flag missing return type and tests
Pull Request -
State: closed - Opened by arjunmalkani 4 months ago
- 2 comments
#19993 - Fix reachability in nested match sequence patterns
Pull Request -
State: open - Opened by cdce8p 4 months ago
- 1 comment
Labels: topic-match-statement, topic-reachability
#19993 - Fix reachability in nested match sequence patterns
Pull Request -
State: open - Opened by cdce8p 4 months ago
#19991 - Sync vs. async function signatures
Issue -
State: open - Opened by smurfix 4 months ago
Labels: bug
#19989 - Rename remaining refs to mypy-native to librt
Pull Request -
State: closed - Opened by ilevkivskyi 4 months ago
- 1 comment
#19987 - Infer `Final` from all-caps-named variables
Issue -
State: closed - Opened by m-aciek 4 months ago
- 7 comments
Labels: feature, needs discussion
#19986 - Add librt as runtime dependency
Pull Request -
State: closed - Opened by cdce8p 4 months ago
- 3 comments
#19985 - `possibly-undefined` false positive on `for...else` loop
Issue -
State: closed - Opened by aardjon 4 months ago
Labels: bug, topic-possibly-undefined
#19983 - [mypyc] feat: add CastExpr support to `constant_fold_expr` [1/1]
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
#19982 - feat: add IndexExpr support to `constant_fold_expr` [1/2]
Pull Request -
State: open - Opened by BobTheBuidler 4 months ago
- 11 comments
#19981 - Unreachable false positive in match statement with tuples
Issue -
State: open - Opened by brandonchinn178 4 months ago
Labels: bug