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 played around with the new colorful types and there is a interesting problem. Colorful takes full advantage of `__getattr__` and im a bit out of ideas how to type...

stubs: false positive

We have a few data-only packages (most recently tzdata) or calver packages where the API rarely changes (regex). I suggest we allow `*` as `version` for third-party packages. This will...

project: infrastructure

At Dropbox we are currently debating what to do with the deprecation of `datetime.utcnow` from cpython upstream. This deprecation is problematic because adjusting a single datetime to timezone-aware breaks its...

Source: https://github.com/python/cpython/tree/main/Lib/multiprocessing

Python 3.9 reached its end-of-life phase on 2025-10-31 ([PEP 596](https://peps.python.org/pep-0596/#lifespan)). ## How to remove support ### February 2026 * [ ] Update the documentation. * [ ] Update the `oldest_supported_python`...

stubs: removal

[Currently](https://github.com/python/typeshed/blob/main/stubs/pexpect/pexpect/popen_spawn.pyi#L20) the hint says that `env` is `os._Environ[str] | None`, but in practice it's not as specific. It's passed unmodified to `subprocess.Popen`, so maybe it should simply be `subprocess._ENV` if...

stubs: improvement