typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Collection of library stubs for Python, with static types

Results 615 typeshed issues
Sort by recently updated
recently updated
newest added

I looks like running `regr_test.py` on Python 3.12 in CI, rather than Python 3.11, makes the job take 20-30s longer. It used to take between 3m and 3m10s; now it...

project: infrastructure

We hit a GitHub API rate limit in https://github.com/python/typeshed/actions/runs/8206267844/job/22444974739#step:7:230 Let's see how this plays out or if it was only has temporary problem.

project: infrastructure

According to the documentation `s1 - s2` returns the set of all elements that are in `s1` but not in `s2`. So what's the point of constraining `s2` elements type?...

Current constructor overloads are here: https://github.com/python/typeshed/blob/e80ad6b2bce7ef6b2a20aec2d79a672859b31864/stdlib/builtins.pyi#L1041-L1046 Someone took care to allow specific positive case, and to block specific negative case. Many potential valid uses have fallen through the cracks: ```py...

As detailed in https://github.com/python/typeshed/issues/8182, the stubs for memoryview currently represent a sequence of ints, while at runtime this vary across ints, bytes, floats, and booleans at runtime after casting. This...

Hi, I've ran into this issue with pyright: Input: ```py def a() -> None: ex: ExceptionGroup[ValueError] = ExceptionGroup("", [ValueError("a"), ValueError("b")]) raise ex try: a() except ExceptionGroup as e: print(all(isinstance(exc, ValueError)...

"all" as a valid alias for "always" action has been added in the https://github.com/python/cpython/pull/121164

`_interpqueues` was added as a new module in https://github.com/python/cpython/pull/117791 alongside `_interpreters`, so we should go ahead with adding stubs for it. It's currently present in `3.13.0b2+`.

Add `_interpqueues` module for Python 3.13 Fixes https://github.com/python/typeshed/issues/12241.

Add the new `_interpreters` module in preparation of Python 3.13.