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

Typeshed currently hosts stubs for `aiofiles`: https://github.com/python/typeshed/tree/main/stubs/aiofiles I asked `aiofiles` if they'd be happy to inline the stubs, and it looks like they would: https://github.com/Tinche/aiofiles/issues/49#issuecomment-3209499246 I've given this a go...

stubs: removal

Consider this code: ```python from csv import get_dialect def foo(s: str): dialect = get_dialect(s) reveal_type(dialect) ``` `mypy` reports ```text dialects.py:6: note: Revealed type is "_csv.Dialect" ``` One would expect the...

pyRFC3339 v2.1.0 (released 2025-08-23) includes type hints. https://github.com/kurtraschke/pyRFC3339/releases/tag/v2.1.0

stubs: removal

Can this decorator be removed? One obvious advantage for having it is to mirror runtime. It has some disadvantages though: 1. I can't for the life of me find a...