Skip to content

Attempt to narrow tuple.__hash__ to flag unhashable entries in the tuple #36922

Attempt to narrow tuple.__hash__ to flag unhashable entries in the tuple

Attempt to narrow tuple.__hash__ to flag unhashable entries in the tuple #36922

Triggered via pull request July 16, 2026 13:14
Status Cancelled
Total duration 2m 20s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
11s
Check typeshed structure
mypy: Run test cases
2m 15s
mypy: Run test cases
stub_uploader tests
2m 15s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Matrix: ty: Check stubs
Fit to window
Zoom out
Zoom in

Annotations

33 errors
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.13)
5 errors
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_tuple.py#L33
Type of "z" is partially unknown   Type of "z" is "tuple[dict[Unknown, Unknown], tuple[()]]" (reportUnknownVariableType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_tuple.py#L24
Type "tuple[Literal[1], Literal[3]]" is not assignable to declared type "Tuple[()]"   "tuple[Literal[1], Literal[3]]" is not assignable to "Tuple[()]"     Tuple size mismatch; expected 0 but received 2 (reportAssignmentType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_tuple.py#L22
Type "tuple[Literal[1], Literal[3]]" is not assignable to declared type "Tuple[int]"   "tuple[Literal[1], Literal[3]]" is not assignable to "Tuple[int]"     Tuple size mismatch; expected 1 but received 2 (reportAssignmentType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_tuple.py#L5
Import "TypeVar" is not accessed (reportUnusedImport)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/builtins/check_tuple.py#L4
Import "MutableSequence" is not accessed (reportUnusedImport)
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Darwin, 3.14)
Exit code 1
mypy: Check stubs (darwin, 3.12)
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (linux, 3.10)
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (linux, 3.10)
The operation was canceled.
mypy: Check stubs (linux, 3.15)
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (linux, 3.15)
The operation was canceled.
mypy: Check stubs (win32, 3.15)
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (win32, 3.15)
The operation was canceled.
mypy: Run test cases
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Run test cases
The operation was canceled.
stub_uploader tests
Canceling since a higher priority waiting request for Test-patch-3 exists
stub_uploader tests
The operation was canceled.
mypy: Check stubs (darwin, 3.13)
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (darwin, 3.13)
The operation was canceled.
Test
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (darwin, 3.15)
Canceling since a higher priority waiting request for Test-patch-3 exists
mypy: Check stubs (darwin, 3.15)
The operation was canceled.