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

Fix long-standing `email.parser` issues detailed in https://github.com/python/typeshed/issues/2417 and https://github.com/python/typeshed/issues/10762 This takes the approach recommended by @andersk and utilizies generic defaults to help us get accurate types accounting for the default...

`ParamSpec`, `TypeVar`, `TypeVarTuple` have a `__default__` attribute, which is evaluated to `NoDefault`, when no default is provided in constructor : ```python from typing import ParamSpec, TypeVar, TypeVarTuple, Any print(f'{TypeVar("Plop").__default__ =...

Python 3.8 has reached its end-of-life phase on 2024-10-07 ([PEP 569](https://peps.python.org/pep-0569/#lifespan)). ## How to remove support ### January 2025 * [ ] Update the documentation. * [ ] Update the...

stubs: removal

Was digging through things to determine why I was being told by my editor that `aiofiles.tempfile.NamedTemporaryFile` didn't support the py3.12 argument `delete_on_close`, and it appears that it's that this isn't...

stubs: false positive
help wanted

Similar to `RPi.GPIO` but for NVIDIA Jetson SBCs. https://github.com/NVIDIA/jetson-gpio

This is an attempt to centralize discussion about using `@(warnings/typing_extensions).deprecated()` in typeshed to convey "typing-only" deprecations, not just runtime-related ones. I'm currently trying to use the decorator that way in...

project: policy

Resolves #2772. Also based on the work and discussions in #2772, #2773, #7430, and #8698. Seemingly unblocked by #11867. This attempts to deprecate the current less restrictive and less accurate...

status: deferred

Two minor fixed to the typeshed: 1. `data` may be both `str` and `bytes`; actually CPython uses it both ways 2. `method=None` does not make much sense and should never...