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

GitHub / python/mypy issues and pull requests

Labelled with: topic-runtime-semantics

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

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

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

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

#19916 - pre-3.12 python_versions do not complain about f-strings syntax, but they should

Issue - State: open - Opened by wyattscarpenter 3 months ago - 2 comments
Labels: feature, topic-runtime-semantics

#19632 - `name-defined` is whitespace-dependent

Issue - State: closed - Opened by injust 4 months ago - 2 comments
Labels: bug, semantic-analyzer, topic-runtime-semantics, topic-variable-scope

#19620 - MyPy does not recognize methods as `MethodType`, only as `Callable`

Issue - State: closed - Opened by chopan050 4 months ago
Labels: bug, topic-runtime-semantics

#19414 - `NamedTuple`'s `_tuplegetter` is not recognized

Issue - State: open - Opened by Gatsik 5 months ago
Labels: topic-named-tuple, topic-runtime-semantics

#18866 - Wrong types when pattern matching `int` with `http.HTTPStatus`

Issue - State: open - Opened by injust 8 months ago - 3 comments
Labels: bug, topic-enum, topic-match-statement, topic-runtime-semantics

#18720 - False positive "Method must have at least one argument" with `@enum.member`

Issue - State: open - Opened by sterliakov 10 months ago
Labels: bug, topic-enum, topic-runtime-semantics

#18618 - false-positive return-in-except-star for lambdas

Issue - State: closed - Opened by AI0867 10 months ago
Labels: bug, topic-runtime-semantics

#18525 - Should a method name shadow outer names when quoted or with PEP563?

Issue - State: open - Opened by sterliakov 11 months ago
Labels: bug, topic-quoted-annotations, topic-runtime-semantics

#18488 - [regression] isinstance complains about parametrized generics with any use of TypeAlias

Issue - State: closed - Opened by wesleywright 11 months ago - 2 comments
Labels: bug, topic-type-alias, topic-runtime-semantics

#18123 - mypy doesn't flag continue/break/return in except*

Issue - State: closed - Opened by jakkdl about 1 year ago - 2 comments
Labels: feature, good-first-issue, topic-runtime-semantics

#17248 - no error when using generic in `except` block

Issue - State: open - Opened by DetachHead over 1 year ago
Labels: bug, topic-runtime-semantics

#16735 - Keyword arguments to `__str__` are rejected

Issue - State: open - Opened by JelleZijlstra almost 2 years ago
Labels: bug, topic-runtime-semantics

#16587 - TYPE_CHECKING only imports should trigger errors on non-annotation usage

Issue - State: closed - Opened by RonnyPfannschmidt about 2 years ago - 7 comments
Labels: bug, topic-runtime-semantics

#16391 - `super()` without arguments and `@staticmethod`

Issue - State: closed - Opened by sobolevn about 2 years ago - 1 comment
Labels: feature, topic-runtime-semantics

#16195 - no error when subtyping string literal

Issue - State: open - Opened by DetachHead about 2 years ago
Labels: bug, priority-2-low, topic-runtime-semantics

#16094 - Within Annotated[T, x], type errors in x are completely ignored

Issue - State: open - Opened by andersk about 2 years ago - 2 comments
Labels: feature, topic-runtime-semantics

#15773 - no error `__future__.annotations` is imported, targeting python 3.8 and subscripting `type` in a position where it gets evaluated at runtime

Issue - State: open - Opened by DetachHead over 2 years ago - 1 comment
Labels: bug, topic-pep-585, topic-runtime-semantics

#13810 - Union not being recognized as types.UnionType

Issue - State: closed - Opened by nickeldan about 3 years ago - 1 comment
Labels: bug, topic-pep-604, topic-runtime-semantics

#12892 - signatures of setters are not checked

Issue - State: closed - Opened by DetachHead over 3 years ago - 5 comments
Labels: bug, topic-runtime-semantics, topic-descriptors

#11673 - `isinstance` doesn't work on type aliases that use a union

Issue - State: closed - Opened by DetachHead about 4 years ago - 10 comments
Labels: bug, topic-pep-604, topic-type-alias, topic-runtime-semantics

#11427 - Cannot determine consistent method resolution order (MRO) when inheriting from both `MutableSequence` and `list`

Issue - State: closed - Opened by abravalheri about 4 years ago - 4 comments
Labels: bug, topic-inheritance, topic-runtime-semantics

#11036 - False positive on class definition keyword arguments

Issue - State: closed - Opened by anuppari over 4 years ago - 16 comments
Labels: bug, topic-runtime-semantics, topic-metaclasses

#10997 - "Yield value expected" on generator using send()

Issue - State: open - Opened by bgreen-litl over 4 years ago - 3 comments
Labels: bug, topic-runtime-semantics

#10967 - Mypy doesn't recognize relative imports as module names

Issue - State: open - Opened by jtpavlock over 4 years ago - 1 comment
Labels: bug, topic-runtime-semantics

#10870 - Mypy complains when `[]` is used for `__slots__` definition

Issue - State: closed - Opened by sobolevn over 4 years ago - 4 comments
Labels: bug, topic-runtime-semantics, topic-inference

#10570 - Class attributes `__qualname__` and `__module__` should be accessible within class body

Issue - State: closed - Opened by erictraut over 4 years ago - 3 comments
Labels: bug, topic-runtime-semantics

#10103 - Mypy complains about empty __all__ being untyped

Issue - State: closed - Opened by mwgamble almost 5 years ago - 2 comments
Labels: feature, topic-runtime-semantics

#10008 - unpacking dict in function call with optional arguments fails

Issue - State: open - Opened by terencehonles almost 5 years ago - 1 comment
Labels: bug, topic-runtime-semantics

#9991 - Class scope name resolution issue

Issue - State: open - Opened by hauntsaninja almost 5 years ago - 2 comments
Labels: bug, priority-2-low, good-second-issue, topic-runtime-semantics, topic-variable-scope

#9910 - 'Final' (PEP 591) shouldn't apply to '__private' symbols

Issue - State: closed - Opened by gvanrossum almost 5 years ago - 2 comments
Labels: bug, topic-final, topic-runtime-semantics

#9053 - Cannot access custom property of union type

Issue - State: closed - Opened by nielsbuwen over 5 years ago - 1 comment
Labels: bug, priority-1-normal, topic-union-types, false-positive, topic-runtime-semantics, topic-descriptors

#8637 - Bad type inference with a partial None type and a for loop.

Issue - State: closed - Opened by barisione over 5 years ago - 2 comments
Labels: bug, priority-0-high, topic-runtime-semantics

#8379 - Walrus operators unrecognised in dictionary initialisation of a class attribute

Issue - State: open - Opened by masasakano almost 6 years ago - 4 comments
Labels: bug, topic-pep-572, topic-runtime-semantics

#8267 - mypy fails to report missing "private" __x attribute

Issue - State: open - Opened by dckc almost 6 years ago - 8 comments
Labels: feature, priority-1-normal, topic-inheritance, topic-runtime-semantics

#8166 - Recognize platform.system() as well as sys.platform

Issue - State: open - Opened by brettcannon almost 6 years ago - 12 comments
Labels: feature, priority-1-normal, good-second-issue, topic-runtime-semantics

#6680 - isinstance(x, Tuple) fails when equivalent expressions don't

Issue - State: open - Opened by lbenezriravin over 6 years ago - 11 comments
Labels: bug, priority-2-low, false-positive, topic-runtime-semantics

#6473 - mypy does not recognize __qualname__

Issue - State: closed - Opened by jtmoon79 almost 7 years ago - 10 comments
Labels: bug, priority-1-normal, false-positive, topic-runtime-semantics

#6185 - property fail on fget, fset

Issue - State: open - Opened by zsluedem almost 7 years ago - 6 comments
Labels: bug, priority-1-normal, false-positive, topic-runtime-semantics, topic-descriptors

#6104 - MyPy should report error if variable imported in TYPE_CHECKING block?

Issue - State: open - Opened by sid-kap almost 7 years ago - 8 comments
Labels: feature, priority-1-normal, topic-runtime-semantics

#5951 - MyPy checks fail when overriding __eq__ to return a custom type and calling it as a right-operator

Issue - State: open - Opened by migwellian about 7 years ago - 1 comment
Labels: bug, topic-runtime-semantics

#5423 - False negative involving null checks on optional types

Issue - State: closed - Opened by person594 over 7 years ago - 6 comments
Labels: bug, priority-0-high, topic-reachability, topic-type-narrowing, topic-runtime-semantics

#4145 - __spec__ incorrectly flagged as not existing in the global/module namespace

Issue - State: closed - Opened by brettcannon about 8 years ago - 4 comments
Labels: bug, priority-1-normal, topic-runtime-semantics

#4019 - Proposal: use binder (or similar) to track which attributes are defined.

Issue - State: open - Opened by ilevkivskyi about 8 years ago - 23 comments
Labels: feature, needs discussion, priority-1-normal, topic-runtime-semantics

#2267 - Descriptors shouldn't be considered callable inside class definition

Issue - State: closed - Opened by refi64 about 9 years ago - 9 comments
Labels: bug, priority-2-low, topic-runtime-semantics, topic-descriptors

#607 - Support @no_type_check for classes

Issue - State: open - Opened by JukkaL over 10 years ago - 7 comments
Labels: feature, topic-pep-484, priority-1-normal, false-positive, topic-runtime-semantics