-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Issues: python/mypy
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
"Statement is unreachable" when doing mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-reachability
Detecting unreachable code
match
on type
objects
bug
#18524
opened Jan 24, 2025 by
woodruffw
Type narrowing broken with dict items
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
#18440
opened Jan 10, 2025 by
xceral
Can't infer tuple inside match case
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
#18039
opened Oct 25, 2024 by
racinmat
Type is not being narrowed properly in match statement
bug
mypy got something wrong
good-second-issue
topic-match-statement
Python 3.10's match statement
#17549
opened Jul 20, 2024 by
bergkvist
Simple mypy got something wrong
topic-literal-types
topic-match-statement
Python 3.10's match statement
Literal
type narrowing via pattern matching is broken
bug
#17291
opened May 25, 2024 by
willofferfit
match narrowing fails when the operand is an mypy got something wrong
topic-match-statement
Python 3.10's match statement
await
expression
bug
#17230
opened May 9, 2024 by
tamird
Match exhaustiveness with class inheriting from tuple
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
#17139
opened Apr 18, 2024 by
tobiasBora
INTERNAL ERROR on match-case statement
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
#17134
opened Apr 17, 2024 by
randolf-scholz
assert_never
fails on match-casing enum
with only one member
bug
#16922
opened Feb 16, 2024 by
otaj
Cannot use mypy got something wrong
topic-match-statement
Python 3.10's match statement
match case
to destructure any object using case object(x=y)
bug
#16912
opened Feb 12, 2024 by
RenDelaCruz
assert_never on exclusive union of tuples (type narrowing issue?)
topic-match-statement
Python 3.10's match statement
topic-reachability
Detecting unreachable code
#16835
opened Jan 29, 2024 by
hjwp
match: Incorrect "Incompatible types in capture pattern" when type has already been narrowed
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
#16736
opened Jan 2, 2024 by
JelleZijlstra
Exhaustive checks with mypy got something wrong
topic-match-statement
Python 3.10's match statement
assert_never
when using match
on a 2-tuple fails
bug
#16650
opened Dec 12, 2023 by
MaxG87
Narrowing with "tags" on unions (of TypedDicts or normal classes) doesn't work with the match statement
bug
mypy got something wrong
good-second-issue
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
topic-typed-dict
#16286
opened Oct 18, 2023 by
tmke8
Pattern matching: Type narrowing in sequence pattern not applied in guard
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
#15949
opened Aug 24, 2023 by
arvidfm
Type inference issue with match expression in generic functions
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
topic-type-variables
#15930
opened Aug 22, 2023 by
myuanz
[match-case] Python 3.10's match statement
topic-reachability
Detecting unreachable code
topic-type-ignore
# type: ignore comments
unreachable
raised multiple times instead of once.
feature
topic-match-statement
#15866
opened Aug 14, 2023 by
randolf-scholz
Unable to narrow the type of a tagged union when using a match statement
bug
mypy got something wrong
topic-literal-types
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
#15190
opened May 5, 2023 by
jonathan-laurent
Non-overlapping equality not detected inside of pattern matching case statements.
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-overlap
Overlapping equality check
#14965
opened Mar 27, 2023 by
HexDecimal
Type narrowing on object attribute with match statement doesn't apply
feature
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
#14911
opened Mar 16, 2023 by
AiroPi
Exhaustiveness checking fails on non-trivial use of pattern matching
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-reachability
Detecting unreachable code
#14833
opened Mar 4, 2023 by
ajasmin
capture_pattern binding type mismatches namedtuple type from Union
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-named-tuple
#14501
opened Jan 21, 2023 by
enigma
False unreachable warning on match statement
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-reachability
Detecting unreachable code
#14485
opened Jan 21, 2023 by
delfick
match-case class checking against mypy got something wrong
topic-match-statement
Python 3.10's match statement
collection.abc.Callable
raises error [misc]
bug
#14014
opened Nov 5, 2022 by
randolf-scholz
No narrowing of sequence types after a sequence pattern case in a match statement
bug
mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-type-narrowing
Conditional type narrowing / binder
#13955
opened Oct 28, 2022 by
dmoisset
Previous Next
ProTip!
What’s not been updated in a month: updated:<2024-12-25.