Commit Graph

10841 Commits

Author SHA1 Message Date
Brian Schubert 953e21bafa Add __format__ overrides to complex, float, int, and str (#14523) 2025-08-05 17:56:36 -04:00
Semyon Moroz aeb9c4cb39 [paramiko] Update to 4.0.* (#14527)
Closes: #14524
2025-08-05 07:38:21 -04:00
Semyon Moroz 084742b431 [concurrent.futures.interpreter] Update to 3.14.0b4 (#14522) 2025-08-04 18:59:26 -07:00
Brian Schubert f57e8b1f26 [pysftp] Pin paramiko~=3.0 when running stubtest (#14526) 2025-08-04 18:55:54 -07:00
Andrew Stitcher 32bc5fcbbe Make FFI.buffer implement buffer protocol, mark dunder methods as positional-only (#14505) 2025-08-04 19:50:41 -04:00
Semyon Moroz 5a5d6a7647 [pyinstaller] Update to 6.15.* (#14521) 2025-08-04 10:05:39 -04:00
Semyon Moroz e16c23d376 [_winapi] Add COPY_FILE_DIRECTORY (#14515) 2025-08-04 11:44:19 +01:00
Semyon Moroz 731090c062 [nt] Add readinto (#14516) 2025-08-04 11:43:55 +01:00
Semyon Moroz 2888ec7011 Bump python-jenkins to 1.8.3 (#14520)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-08-04 10:14:11 +01:00
Brian Schubert 622df68c1c Add @type_check_only to stub-only private classes in stdlib (#14512) 2025-08-03 10:13:16 +02:00
Avasam dde70aeecd Add --show-traceback to stubtest_third_party (#14511) 2025-08-02 11:49:27 -07:00
Semyon Moroz 01b9048c9f [encoding] Add win32_code_page_search_function (#14510)
Docs: https://docs.python.org/dev/library/codecs.html#encodings.win32_code_page_search_function
2025-08-02 14:47:10 -04:00
Semyon Moroz a2c6ac07e3 [termios] Use Final for constants (#14488) 2025-08-01 17:19:14 -04:00
Semyon Moroz 122b3e87dc [pathlib] Deprecate PurePath.is_reserved (#14478)
Source: https://github.com/python/cpython/pull/95486
Docs: https://docs.python.org/3.14/library/pathlib.html#pathlib.PurePath.is_reserved
2025-08-01 16:46:57 -04:00
Semyon Moroz 174ce8f959 [platform] Deprecate java_ver (#14485)
Source: https://github.com/python/cpython/pull/116471
Docs: https://docs.python.org/3.14/library/platform.html
2025-08-01 16:38:28 -04:00
Andreas Klöckner 8edafa8029 Fix types of Bdb.{get_file_breaks,get_all_breaks} (#14502) 2025-07-31 21:23:32 -04:00
Sebastian Rittau 3f08a4ed10 Split tool.stubtest.platforms metadata key (#13746)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 12:07:20 -04:00
sobolevn 07bbe5e18c Mark enum constants in signal.py as Final, not Literal (#13500)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2025-07-31 12:13:01 +03:00
qwerty吃小庄 52652635af Type stub for win32com.server (#14492) 2025-07-30 12:38:53 -04:00
Jelle Zijlstra ecb0742e7f Add Brian Schubert to maintainers (#14498) 2025-07-30 12:12:11 -04:00
Semyon Moroz c06621ba71 [mmap] Use Final for constants (#14494) 2025-07-30 06:37:22 +02:00
Semyon Moroz 78faddc7f9 [sys] Deprecate _enablelegacywindowsfsencoding (#14495) 2025-07-30 06:35:29 +02:00
Semyon Moroz 7beac2529c [sqlite3] Add value to Final constants (#14491) 2025-07-29 19:55:41 +02:00
Brian Schubert 29be85e463 [channels] Bump to 4.3.* (#14490) 2025-07-29 00:08:02 -07:00
Alexandre Detiste 9ab7fde0a0 prefer newer "tomllib" over "tomli" backport (#14486)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-28 17:06:21 +01:00
Dutcho 9f13289be1 string.templatelib: do not allow concatenating Template with str (#14480)
Fixes #14479
2025-07-27 15:19:34 -07:00
Brian Schubert c04c911254 [pywin32] Update LookupAccountSid to accept None for systemName (#14484) 2025-07-28 00:00:59 +02:00
Alex Waygood 28758d2e7d Fully annotate yt-dlp (#14481) 2025-07-27 19:06:41 +02:00
Semyon Moroz 22f1a0c6b1 [docutils] Add missing stubs (#14438) 2025-07-27 13:57:29 +02:00
Sebastian Rittau eb96b7dbc8 stubsabot: Handle errors when determining action (#14473)
Use colors for output and move processed distribution name to the front
2025-07-27 13:49:00 +02:00
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