An open API service for providing issue and pull request metadata for open source projects.

GitHub / python/mypy issues and pull requests

#20896 - Fix match statement narrowing reachability for tuples

Pull Request - State: open - Opened by hauntsaninja 12 days ago - 2 comments

#20895 - A test switch to --allow-redefnition-new

Pull Request - State: open - Opened by ilevkivskyi 12 days ago - 1 comment

#20894 - Revert a perf optimization for deferred nodes

Pull Request - State: closed - Opened by ilevkivskyi 12 days ago - 1 comment

#20893 - [mypyc] Add `str.isdigit()` primitive

Pull Request - State: open - Opened by VaggelisD 13 days ago

#20892 - Fix changed on pop with multiple variables in binder

Pull Request - State: closed - Opened by ilevkivskyi 13 days ago - 1 comment

#20891 - Mypy degrades inferred generic return type from tuple[type[T], ...] to object

Issue - State: open - Opened by Vanerio 13 days ago - 1 comment
Labels: bug, topic-join-v-union, topic-inference

#20890 - uncomment testCanCreateTypedDictTypeWithDictCall

Pull Request - State: open - Opened by wyattscarpenter 13 days ago

#20889 - investigate and change a couple of -skips to -xfails

Pull Request - State: open - Opened by wyattscarpenter 13 days ago - 2 comments

#20885 - add testLiteralWithBackslash test case

Pull Request - State: open - Opened by wyattscarpenter 13 days ago

#20877 - Enable --allow-redefinition-new in self-check

Pull Request - State: closed - Opened by ilevkivskyi 13 days ago - 10 comments

#20860 - Avoid unnecessary work when checking deferred functions

Pull Request - State: closed - Opened by ilevkivskyi 15 days ago - 6 comments

#20856 - Add work-in-progress implementation of a new Python parser

Pull Request - State: open - Opened by JukkaL 16 days ago - 1 comment

#20855 - Prohibit access via class for instance-only attributes

Pull Request - State: closed - Opened by ilevkivskyi 16 days ago - 2 comments

#20854 - Add flag to reveal simpler types

Pull Request - State: closed - Opened by ilevkivskyi 16 days ago - 4 comments

#20853 - Allow redefinitions for function arguments

Pull Request - State: closed - Opened by ilevkivskyi 16 days ago - 4 comments

#20851 - Unify empty context fallback in assignments

Pull Request - State: open - Opened by ilevkivskyi 17 days ago - 11 comments

#20850 - Add support for t-strings (PEP 750).

Pull Request - State: open - Opened by nascheme 18 days ago - 3 comments

#20717 - Bump version to 2

Pull Request - State: closed - Opened by hauntsaninja about 1 month ago - 2 comments

#20695 - Add suggestions for misspelled module imports

Pull Request - State: open - Opened by KevinRK29 about 1 month ago - 5 comments

#20650 - Passing an unpacked dictionary and keyword arguments to `**kwargs` gets unexpected errors

Issue - State: closed - Opened by hyperkai about 1 month ago - 2 comments
Labels: bug

#20616 - Add optional error code for legacy type comments

Pull Request - State: open - Opened by cdce8p about 2 months ago - 8 comments

#20607 - Type narrowing not propagated through method call with raise statements for class fields

Issue - State: closed - Opened by phyalexander about 2 months ago - 3 comments
Labels: feature

#20591 - Improve error messages when positional arguments are missing

Pull Request - State: open - Opened by KevinRK29 about 2 months ago - 6 comments

#20564 - Better narrowing

Issue - State: open - Opened by hauntsaninja about 2 months ago - 44 comments
Labels: feature, meta, topic-type-narrowing

#20515 - Reorganise mypy_self_check.ini

Pull Request - State: closed - Opened by hauntsaninja 2 months ago - 4 comments

#20514 - Support per-module strict config

Pull Request - State: open - Opened by hauntsaninja 2 months ago - 4 comments

#20214 - Update librt dependency to 0.5.0

Pull Request - State: closed - Opened by JukkaL 4 months ago - 1 comment

#20213 - Documentation: type[BaseClass] accepting subclasses

Issue - State: open - Opened by paulocheque 4 months ago
Labels: bug, topic-mypyc

#20210 - chore: fix typo in comment

Pull Request - State: closed - Opened by BobTheBuidler 4 months ago

#20202 - Do not push partial types to the binder

Pull Request - State: open - Opened by sterliakov 4 months ago - 1 comment
Labels: crash

#20194 - Micro-optimize cache primitives in librt.internal

Pull Request - State: closed - Opened by JukkaL 4 months ago - 3 comments

#20184 - Constrained TypeVars with Any default

Issue - State: open - Opened by srittau 4 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 5 months ago - 5 comments

#20088 - Use fixed format for cache metas

Pull Request - State: open - Opened by ilevkivskyi 5 months ago - 1 comment

#20087 - Frozen dataclasses should have an implicit Final annotation on its members

Issue - State: open - Opened by alecov 5 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 5 months ago - 3 comments

#20081 - Allow type parameters reusing the name missing from current module

Pull Request - State: open - Opened by sterliakov 5 months ago - 2 comments
Labels: crash

#20079 - scipy-stubs: `scipy.optimize.least_squares` function inferred as module

Issue - State: open - Opened by jorenham 5 months ago - 3 comments
Labels: bug, topic-runtime-semantics

#20075 - Make metas more compact; fix indirect suppression

Pull Request - State: open - Opened by ilevkivskyi 5 months ago - 2 comments

#20072 - Planned work related to fixed-format serialization

Issue - State: open - Opened by JukkaL 5 months ago - 14 comments
Labels: feature, topic-incremental, meta

#20069 - Support writing/reading bytes in librt.internal

Pull Request - State: closed - Opened by ilevkivskyi 5 months ago - 8 comments

#20066 - Remove incorrect platform restriction for `zlib.ZLIBNG_VERSION`

Pull Request - State: closed - Opened by StanFromIreland 5 months ago - 4 comments

#20065 - Fix typo in generics documentation

Pull Request - State: closed - Opened by guoci 5 months ago - 1 comment

#20064 - Stubtest crashes if an `@overload` is decorated

Issue - State: open - Opened by jorenham 5 months ago - 1 comment
Labels: crash

#20063 - stubtest: include function name in overload assertion messages

Pull Request - State: closed - Opened by jorenham 5 months ago

#20062 - Define and document workflows for librt updates

Issue - State: open - Opened by JukkaL 5 months ago - 4 comments
Labels: topic-developer

#20061 - Issue when `self` is typed as a `Protocol`

Issue - State: open - Opened by cmp0xff 5 months ago
Labels: bug

#20060 - `--warn-unreachable` doesn't flag unnecessary comparison to `None`

Issue - State: open - Opened by A5rocks 5 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 5 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 5 months ago
Labels: bug, topic-protocols, topic-literal-types

#20057 - Union interacts poorly with `isinstance`-based unreachability

Issue - State: open - Opened by A5rocks 5 months ago
Labels: bug, topic-reachability

#20056 - Make --pretty work better on multi-line issues

Pull Request - State: closed - Opened by A5rocks 5 months ago - 1 comment

#20055 - mypy 1.18.x crashes (INTERNAL ERROR) on a pydantic v1.x definition

Issue - State: closed - Opened by adamhadani 5 months ago - 4 comments
Labels: bug, crash

#20054 - Prevent assignment to None for non-Optional class variables

Pull Request - State: open - Opened by hauntsaninja 5 months ago - 1 comment
Labels: deferred

#20053 - Switch to a more dynamic SCC processing logic

Pull Request - State: open - Opened by ilevkivskyi 5 months ago - 6 comments

#20052 - fix: Ignore empty error codes from 'type: ignore'

Pull Request - State: open - Opened by codenamenam 5 months ago - 3 comments

#20051 - [MyPyC][1.18.*] TypeError: ..._gen object expected; got coroutine

Issue - State: closed - Opened by paulocheque 5 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 5 months ago - 3 comments

#20049 - inventory and health logger

Issue - State: closed - Opened by divyanshrai764-boop 5 months ago - 1 comment
Labels: bug

#20047 - WIP: try to exclude outer context from overload selection process entirely?

Pull Request - State: open - Opened by sterliakov 5 months ago - 2 comments

#20046 - Prevent TypeGuardedType leak from `narrow_declared_type` as part of typevar bound

Pull Request - State: closed - Opened by sterliakov 5 months ago - 2 comments
Labels: crash

#20044 - [mypyc] Fix inheritance of async defs

Pull Request - State: closed - Opened by JukkaL 5 months ago - 1 comment

#20043 - [mypyc] Refactor: adjust generator return types in a later pass

Pull Request - State: closed - Opened by JukkaL 5 months ago

#20042 - Check class references to catch non-existant classes in match cases

Pull Request - State: closed - Opened by A5rocks 5 months ago - 5 comments
Labels: upnext

#20041 - Use `type(var) is T` to Narrow Types

Issue - State: open - Opened by George-Ogden 5 months ago
Labels: feature, topic-type-narrowing

#20040 - Bump librt again

Pull Request - State: closed - Opened by ilevkivskyi 5 months ago - 1 comment

#20039 - Documentation : Adding missing reveal_type imports in cheat_sheet_py3.rst

Pull Request - State: open - Opened by GeoffreyOnRails 5 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 5 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 5 months ago - 1 comment

#20036 - Do not sort unused error codes in unused error codes warning

Pull Request - State: closed - Opened by wyattscarpenter 5 months ago - 2 comments

#20035 - ajout du test unitaire issue_scope.test

Pull Request - State: closed - Opened by ines-bg 5 months ago - 1 comment

#20034 - modification fichier scope.py

Pull Request - State: closed - Opened by lamia-bel 5 months ago - 5 comments

#20033 - test_scope_behavior.py

Pull Request - State: closed - Opened by Sabine22-alt 5 months ago - 1 comment

#20031 - Update test requirements snapshot

Pull Request - State: closed - Opened by ilevkivskyi 5 months ago - 3 comments

#20030 - Update shellcheck version in actionlint pre-commit to 0.11.0

Pull Request - State: closed - Opened by msullivan 5 months ago - 3 comments

#20029 - Run CI for Python 3.14.0 and free-threading

Pull Request - State: open - Opened by cdce8p 5 months ago - 5 comments

#20027 - Invalid type revealed when type var uses another type var as default

Issue - State: open - Opened by sobolevn 5 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 5 months ago - 1 comment
Labels: upnext

#20024 - Fix infinite loop on empty Buffer

Pull Request - State: open - Opened by ilevkivskyi 5 months ago

#20023 - Filter SyntaxWarnings during AST parsing

Pull Request - State: open - Opened by cdce8p 5 months ago

#20022 - Make lib-rt/setup.py similar to mypyc extensions

Pull Request - State: closed - Opened by ilevkivskyi 5 months ago

#20021 - Fix `[name-defined]` false-positive in `class A[X, Y=X]:` case

Pull Request - State: closed - Opened by sobolevn 5 months ago - 4 comments

#20020 - `[name-defined]` when PEP-696 type var uses another type var as default

Issue - State: closed - Opened by sobolevn 5 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 5 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 5 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 5 months ago
Labels: bug

#20016 - Incorrect method name in cached overload "note" messages

Issue - State: open - Opened by pmantion 5 months ago
Labels: bug

#20015 - NotImplementedError: Cannot serialize TypeGuardedType instance

Issue - State: closed - Opened by skywall 5 months ago - 3 comments
Labels: crash

#20014 - Rename native_internal to librt.internal

Pull Request - State: open - Opened by ilevkivskyi 5 months ago

#20013 - Sequences of attrs validators

Issue - State: open - Opened by AdrianSosic 5 months ago
Labels: bug

#20012 - [mypyc] feat: improve LoadLiteral annotation determinism

Pull Request - State: open - Opened by BobTheBuidler 5 months ago - 10 comments

#20011 - Type annotation on method parameter is resolved using attrs class instance variables

Issue - State: closed - Opened by injust 5 months ago - 1 comment
Labels: bug, topic-runtime-semantics, topic-variable-scope

#20010 - Pin librt version

Pull Request - State: open - Opened by ilevkivskyi 5 months ago