-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionbugSomething isn't workingSomething isn't workingspec compliance
Description
Describe the bug
https://peps.python.org/pep-0646/#type-variable-tuple-equality
Code or Screenshots
Code example from the PEP, see link above.
from typing import TypeVarTuple
Ts = TypeVarTuple("Ts")
def foo(arg1: tuple[*Ts], arg2: tuple[*Ts]): ...
a = (0,)
b = ('0',)
foo(a, b) # This should be an errorVS Code extension or command-line
pyright 1.1.344
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionbugSomething isn't workingSomething isn't workingspec compliance