typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
Release: https://pypi.org/pypi/protobuf/4.25.3 Homepage: https://developers.google.com/protocol-buffers/ Repository: https://github.com/protocolbuffers/protobuf If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR) - Fix...
See https://discuss.python.org/t/add-an-else-clause-to-with-statements-to-detect-early-termination/38031 for related discussion.
This issue is supposed to track when we can start to use type variable (etc.) defaults introduced in Python 3.13 ([PEP 696](https://peps.python.org/pep-0696/) in typeshed. Support is needed in released versions...
This will affect quite a few classes and will possibly have a fairly significant primer impact, but we should at least work towards this goal.
[The docs](https://docs.python.org/3.11/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor) say: > initializer is an optional callable that is called at the start of each worker process; No mention of it returning anything. And type is `Callable[..., None]`...
- Fixes some regressions introduced by https://github.com/python/typeshed/pull/7161 (see https://github.com/python/typeshed/issues/9004#issuecomment-1295312743). - Fixes #9004 - Fixes #7121 - Fixes https://github.com/python/mypy/issues/13192 (cc. @finite-state-machine). - I wasn't initially sure that `set[str | None] -...
Release: https://pypi.org/pypi/editdistance/0.8.1 Homepage: https://github.com/roy-ht/editdistance Repository: https://github.com/roy-ht/editdistance Diff: https://github.com/roy-ht/editdistance/compare/v0.6.2...v0.8.1 Stubsabot analysis of the diff between the two releases: - 2 public Python files have been added: `pdm_build.py`, `src/editdistance/__init__.py`. - 1 file...
Release: https://pypi.org/pypi/paho-mqtt/2.0.0 Homepage: http://eclipse.org/paho Repository: https://github.com/eclipse/paho.mqtt.python Diff: https://github.com/eclipse/paho.mqtt.python/compare/v1.6.1...v2.0.0 Stubsabot analysis of the diff between the two releases: - Total lines of Python code added: 5638. - Total lines of Python...
Release: https://pypi.org/pypi/peewee/3.17.1 Homepage: https://github.com/coleifer/peewee/ Repository: https://github.com/coleifer/peewee Diff: https://github.com/coleifer/peewee/compare/3.17.0...3.17.1 Stubsabot analysis of the diff between the two releases: - 0 public Python files have been added. - 0 files included in...
~~This breaks `stubtest_third_party.py` when you run it on Python