Skip to content

[stdlib] Add overloads for sys.intern function for LiteralString inputs #34017

[stdlib] Add overloads for sys.intern function for LiteralString inputs

[stdlib] Add overloads for sys.intern function for LiteralString inputs #34017

Triggered via pull request November 15, 2025 18:36
@guociguoci
synchronize #15034
guoci:patch-2
Status Failure
Total duration 6m 30s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
15s
Check typeshed structure
mypy: Run test cases
6m 10s
mypy: Run test cases
stub_uploader tests
5m 44s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

41 errors
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Windows, 3.9)
Exit code 1
pyright: Run test cases (Darwin, 3.9)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.10)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.10)
Exit code 1
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/sys/__init__.pyi#L427
Untyped function decorator obscures type of function; ignoring decorator (reportUntypedFunctionDecorator)
pyright: Run test cases (Linux, 3.13): stdlib/sys/__init__.pyi#L427
"overload" is not defined (reportUndefinedVariable)
pyright: Run test cases (Linux, 3.13): stdlib/sys/__init__.pyi#L426
Function declaration "intern" is obscured by a declaration of the same name (reportRedeclaration)
pyright: Run test cases (Linux, 3.13): stdlib/sys/__init__.pyi#L425
Untyped function decorator obscures type of function; ignoring decorator (reportUntypedFunctionDecorator)
pyright: Run test cases (Linux, 3.13): stdlib/sys/__init__.pyi#L425
"overload" is not defined (reportUndefinedVariable)
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.9)
Exit code 1
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Darwin, 3.10)
Exit code 1
pyright: Run test cases (Windows, 3.14)
Exit code 1
mypy: Check stubs (linux, 3.11)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.9)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.9)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.10)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.13)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.11)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.9)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.11)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.12)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.10)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.12)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.10)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.14)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.13)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.13)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.14)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.14)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.12)
Process completed with exit code 1.