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

This is a follow-up to the version bridge for Python 3.14 added in https://github.com/python/typeshed/pull/14137 and my own contribution to cpython (https://github.com/python/cpython/pull/127275). See also: https://docs.python.org/3.14/library/ctypes.html#ctypes.CopyComPointer

Use the `py` launcher and don't use the `pip` shortcut for upgrading pip itself. The latter is a required change since `pip install -U pip` is blocked by `pip` because...

If I write: ```python from decorator import FunctionMaker fm = FunctionMaker(lambda x: x) print(f'{fm.defaults=}') ``` then I see ``` fm.defaults=None ``` However, the stubs show: https://github.com/python/typeshed/blob/ecd5141cc036366cc9e3ca371096d6a14b0ccd13/stubs/decorator/decorator.pyi#L23 and `None` can't be...

Release: https://pypi.org/pypi/cachetools/6.1.0 Homepage: https://github.com/tkem/cachetools/ Repository: https://github.com/tkem/cachetools Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/cachetools Diff: https://github.com/tkem/cachetools/compare/v6.0.0...v6.1.0 Stubsabot analysis of the diff between the two releases: - Total lines of Python code added: 194. - Total...

bot: stubsabot

Add the following deprecations for 3.14: * `pathlib.PurePath.as_uri` deprecation. * `pdb.curframe_locals` deprecation. * `asyncio.iscoroutinefunction` deprecation. * `codecs.open` deprecation. * `os.popen` and `os.spawn*` function deprecations.

* Add `BRANCH_LEFT` and `BRANCH_TAKEN` * Add `Final` qualifier throughout the module for contants. * Add deprecation for `BRANCH`.

Followup to https://github.com/python/typeshed/pull/14218 based on the suggestion by @Avasam.

A [recent addition](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#600) to psutil added a `cache_clear` callable to `psutil.process_iter`, which is not available with the latest version (7.0.0.20250601) of "types-psutil". I wouldn't mind trying to provide a PR...