Commit Graph

10811 Commits

Author SHA1 Message Date
Sebastian Rittau d5c37811c5 Remove obsolete comments from turtle.pyi (#14474)
While it would be possible to use the hack described in the comment
now that pytype support has been removed, that hack is a bit too
"magical" for stubs that are supposed to be fairly straight-forward
API descriptions. This would also introduce extra stub-only attributes
and would imply that e.g. `_Screen.setup()` and `setup()` refer to the
same object at runtime when they don't.
2025-07-27 13:33:30 +02:00
Sebastian Rittau 981bd8eb8d Remove pytype workarounds from third-party stubs (#14471) 2025-07-27 13:05:57 +02:00
Sebastian Rittau 7e16c80989 Remove some pytype workarounds from stdlib (#14470)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-27 11:56:26 +01:00
Sebastian Rittau 1a256d8211 [CI] Run pyright tests with Python 3.13 (#14469) 2025-07-27 12:49:01 +02:00
Semyon Moroz fd5c6d4571 [ssl] Add missing default values (#14472)
* Move few functions to be able to use variables as default value
* Unify deprecated messages
2025-07-27 12:40:10 +02:00
tobixx 7863f01a41 Add protected pprint.PrettyPrinter methods (#14228) 2025-07-27 11:55:20 +02:00
Adam Dangoor 082761da7d Type inline_text in stubs/docutils/docutils/parsers/rst/states.pyi (#14467) 2025-07-27 11:53:57 +02:00
Sebastian Rittau aebefb1754 Remove support for pytype (#14463) 2025-07-27 11:47:37 +02:00
Tatsh df8de9e5ac Add yt-dlp stubs (#14216) 2025-07-27 00:08:14 +02:00
Brian Schubert f88a09d479 Add @type_check_only to various typeshed-only procotols in stdlib (#14465)
Mark various typeshed-only protocols as `@type_check_only` in stdlib
2025-07-26 20:02:17 +01:00
Adam Dangoor e2d0c451e2 [docutils] Fix type of standalone.Reader.document (#14447) 2025-07-26 19:45:12 +02:00
Ali Hamdan 7864edbc39 seaborn: improve the matrix module (#14464) 2025-07-26 17:42:14 +02:00
Sebastian Rittau f15658bfe4 [CI] Use version from requirements for setup-uv (#14082) 2025-07-26 17:39:21 +02:00
Semyon Moroz bdd6546471 [ssl] Deprecate several features (#14432) 2025-07-26 07:54:23 -07:00
Semyon Moroz 6e474f2d0f [difflib] Update pat param for IS_LINE_JUNK (#14449) 2025-07-26 07:45:11 -07:00
Semyon Moroz 4a8635d106 [threading] Add missing default values (#14458) 2025-07-26 16:33:19 +02:00
Ali Hamdan 2c10360fd1 networkx: improve the cycles module (#14459) 2025-07-26 16:27:01 +02:00
Semyon Moroz 1bd302042d [sqlite3] Use TypeAlias for isolation_level (#14460) 2025-07-26 16:26:01 +02:00
Sebastian Rittau 8317409c18 [ctypes] Replace two instances of Any (#14047) 2025-07-26 16:24:04 +02:00
Ali Hamdan afc1faa86b networkx: improve the distance_measures module (#14461) 2025-07-26 16:23:49 +02:00
Semyon Moroz 4860c36f01 [configparser] Add missing default values (#14450) 2025-07-26 05:43:50 +02:00
Semyon Moroz 4d62c18261 [ipaddress] Add default value for strict param (#14451) 2025-07-26 05:43:23 +02:00
Semyon Moroz 14474afb85 [datetime] Add missing default values (#14452) 2025-07-26 05:40:35 +02:00
Semyon Moroz 8a6075ffcc [pprint] Add missing default values (#14453) 2025-07-26 05:40:03 +02:00
Brian Schubert c97c3f0fd0 Update tarfile.TarFile.list to accept any iterable for members (#14455) 2025-07-26 05:25:40 +02:00
Brian Schubert 6b8df6b753 Mark tarfile constants as Final (#14456) 2025-07-26 05:24:09 +02:00
Semyon Moroz 3e76afe909 [tempfile] Deprecate mktemp function (#14433) 2025-07-24 15:32:33 -07:00
Semyon Moroz 1b87479334 [signal] Add default value for params (#14448) 2025-07-24 19:01:14 +02:00
Sebastian Rittau 82edad066f Updates for Python 3.14rc1 (#14446) 2025-07-24 16:30:00 +02:00
Semyon Moroz a1dc346ef6 [json] Add default value for strict param to scanstring (#14441) 2025-07-23 13:04:13 +02:00
Avasam ddd8434a42 Bump pywin32 to 311.* (#14437) 2025-07-22 10:53:18 +02:00
Brian Schubert 723db2f132 Add concurrent.interpreters stubs for 3.14.0b3 (#14307) 2025-07-21 15:31:29 +02:00
Sebastian Rittau 217be6680a Improve suggested annotations for sentinel types (#14435) 2025-07-21 15:30:00 +02:00
Semyon Moroz 7cf443e754 [stubsabot] Move obsolete data to ts_utils.metadata (#14422) 2025-07-21 14:47:03 +02:00
Semyon Moroz d57b2fba84 [docutils] Add missing stubs for writers dir (#14223) 2025-07-21 14:42:16 +02:00
TuckerD 08225953c9 Add missing _add_value_alias_ method for Python 3.13 enum (#14411) 2025-07-21 12:48:15 +02:00
Alex Waygood ae1b471e5b Remove redundant version_info branches (#14434) 2025-07-20 23:56:22 +01:00
Semyon Moroz 7c7f8cd184 [uuid] Add default value for is_safe param (#14431) 2025-07-20 08:24:23 +02:00
github-actions[bot] bb37548516 [stubsabot] Bump jsonschema to 4.25.* (#14430) 2025-07-19 10:25:15 +02:00
Semyon Moroz 2c366c0987 [argparse] Add default value _SubParsersAction.add_parser params (#14429) 2025-07-18 20:53:58 +02:00
Semyon Moroz 611cba35d9 [argparse] Deprecate prefix_chars in ArgumentParser.add_argument_group (#14428) 2025-07-18 20:53:30 +02:00
Donal Burns 8e25bda401 psycopg2: Add types to RealDictCursor.execute (#14427) 2025-07-17 11:41:58 +02:00
Semyon Moroz 58b11302b5 [stubsabot] Fix comparison sign (#14426) 2025-07-17 08:15:04 +02:00
Semyon Moroz cc9cb918e6 Add pony stubs (#14361) 2025-07-16 19:48:38 +02:00
Leonardus Chen a1ae191820 Fix unittest.mock.patch and unittest.mock.patch.object when new_callable is not None (#14358) 2025-07-16 14:37:32 +02:00
Max Muoto 3f0dce5abe Update sys.monitoring for 3.14 (#14288) 2025-07-16 14:22:12 +02:00
Semyon Moroz 82e2e9c53a [stubsabot] Support "Removal" PRs (#14401) 2025-07-16 13:48:04 +02:00
Randolf Scholz bd17a577a5 Require SupportsBool instead of bool for comparisons. (#14375) 2025-07-16 13:31:32 +02:00
github-actions[bot] 28f4bdf248 [stubsabot] Bump cachetools to 6.1.* (#14291)
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 lines of Python code deleted: 87.
2025-07-16 02:29:19 -07:00
Michael H d73534badf add rich comparison bound to heapq and priorityqueues using heapq (#14419) 2025-07-15 19:36:28 -07:00