Commit Graph

11369 Commits

Author SHA1 Message Date
Semyon Moroz ee1e94d430 [tkinter] Annotate few methods (#15273) 2026-01-16 00:28:12 +01:00
Martijn van der Ven 5e477a316c [yt-dlp] Make _Params["playlist_items"] a str (#15287) 2026-01-15 20:03:26 +01:00
Alex Waygood dabb619031 Use stricter pyright settings when checking ephem in CI (#15288) 2026-01-15 16:44:42 +00:00
Remco646 8649162420 Add stubs for ephem (#15191) 2026-01-15 15:29:45 +01:00
Abraham Murciano 127e4d240d Add type stubs for punq (#15274) 2026-01-15 14:24:39 +01:00
Guo Ci e872935317 [tarfile] TarFile.errorlevel can't be None (#15214) 2026-01-15 12:38:36 +01:00
Semyon Moroz 0c45df1544 Check pyrightconfig stricter exclude list order (#15243) 2026-01-15 12:32:58 +01:00
Semyon Moroz 6731a33cdb [psutil] Annotate Popen.__init__ method (#15186) 2026-01-15 11:24:48 +01:00
savanto c06ef9d88b [imaplib] Fix append args types (#15187)
* All arguments except `message` accept `None`.
* The `date_time` argument accepts all types that `Time2Internaldate` accepts.
2026-01-15 11:18:22 +01:00
Semyon Moroz 3ecbf2ff9b [ssl] Deprecate read and write methods (#15285) 2026-01-15 11:11:02 +01:00
Semyon Moroz 4372b1d733 [ctypes] Soft deprecate ARRAY (#15204) 2026-01-15 11:09:58 +01:00
Semyon Moroz 4c6351190f [Authlib] Annotate more (#15203) 2026-01-15 11:06:43 +01:00
Semyon Moroz 66a69d0d72 [Send2Trash] Update to 2.0.* (#15202) 2026-01-15 11:04:43 +01:00
github-actions[bot] 4685e27180 [stubsabot] Bump regex to 2026.1.15 (#15281) 2026-01-15 10:33:36 +01:00
Ganden Schaffner fd895f7819 [socket] Make socketpair not support type: SocketType (#15284) 2026-01-15 08:39:35 +01:00
Hoël Bagard 3789c36681 tensorflow: add tf.keras.metrics.MeanSquaredError (#15282) 2026-01-15 08:34:40 +01:00
Victor Westerhuis cd8b26b0ce [email.utils] Remove non-existing overload of parsedate_to_datetime (#15280) 2026-01-14 15:44:11 +01:00
Liam DeVoe e887eae0d2 [itertools] More specific type hints for batched(..., strict=True) (#15277) 2026-01-14 11:50:40 +01:00
Semyon Moroz 77f8e8f2a5 [httplib2] Update to 0.31.1 (#15278) 2026-01-14 09:32:06 +01:00
Semyon Moroz ce0726c156 [pyinstaller] Update to 6.18.* (#15279) 2026-01-14 09:30:17 +01:00
Victorien 82c9b97fef Add comment indicating default value of format parameter in typing.get_type_hints() (#15268) 2026-01-13 09:15:27 -08:00
b9788213 ce2b37da45 [http.cookies] 'value', 'coded_value', and 'key' of Morsel can return None (#15264) 2026-01-12 16:56:26 +01:00
Ali Hamdan 6fa275f4a7 cmath.rect accepts float-likes (#15247) 2026-01-12 16:32:16 +01:00
Emmanuel Ferdman f0344b83b3 [xmltodict] Fix false positive for namespaces with None values (#15245) 2026-01-12 16:21:13 +01:00
Hoël Bagard 47c0e2d5aa [tensorflow]: Add a few missing elements (#15265) 2026-01-12 15:32:25 +01:00
Semyon Moroz 7d70675747 [django-import-export] Update to 4.4.* (#15256) 2026-01-12 15:00:04 +01:00
Hoël Bagard 31791106cb [tensorflow]: Add tf.split (#14890) 2026-01-12 14:45:31 +01:00
Jelle Zijlstra 5c5f3eb390 sre_compile: use TypeIs (#15263) 2026-01-12 00:47:09 +01:00
Semyon Moroz 3735956f83 [select] Deprecate flags parameter for epoll (#15255)
- Deprecte param: https://docs.python.org/dev/library/select.html#select.epoll
- Add default values:
  * `select.kevent` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/selectmodule.c#L1775
  * `select.epoll.__new__` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/selectmodule.c#L1355
  * `select.epoll.__exit__` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/selectmodule.c#L1706
  * `select.devpoll.poll` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/selectmodule.c#L943
2026-01-11 23:33:23 +01:00
Victor Westerhuis 111bbb5cd2 Add secrets.DEFAULT_ENTROPY (#15261) 2026-01-11 23:32:42 +01:00
Semyon Moroz c96d8dd7f9 [urllib] Deprecate cafile, capath, cadefault parameters (#15260) 2026-01-11 23:31:33 +01:00
Semyon Moroz a679bdc438 [stdlib] Deprecate keyfile, certfile and check_hostname parameters (#15259) 2026-01-11 23:31:03 +01:00
Semyon Moroz 3593e35df4 [stdlib] Add default values part 2 (#14769) 2026-01-11 11:08:32 -08:00
Alex Waygood a4eeb5c05b Make self and cls positional-only in dict constructor methods (#15262) 2026-01-11 19:21:07 +01:00
Semyon Moroz 5a45a9a5bc [inspect] Deprecate getcallargs function (#15258)
Docs: https://docs.python.org/dev/library/inspect.html#inspect.getcallargs
2026-01-11 08:00:44 -08:00
Ali Hamdan 4092415812 statistics: relax linear_regression input types (#15249) 2026-01-10 22:00:53 -08:00
Semyon Moroz 9d40875925 [http.client] Update HTTPResponse.info (#15248) 2026-01-11 00:28:44 +01:00
Semyon Moroz 98d6327550 [pydoc] Update ErrorDuringImport (#15251) 2026-01-11 00:22:53 +01:00
Semyon Moroz bf0f0a56a8 [gc] Add default values (#15253) 2026-01-11 00:20:50 +01:00
Semyon Moroz 9840c58451 [sre_compile] Use TypeGuard for isstring (#15250) 2026-01-11 00:20:27 +01:00
Semyon Moroz e213e04a84 Update pathspec to >=1.0.3 (#15244) 2026-01-09 17:05:43 +00:00
Semyon Moroz 2e67ef8362 [fileinput] Deprecate hook_encoded (#15240) 2026-01-09 17:24:41 +01:00
Semyon Moroz 41c18afd59 [http.client] Deprecate HTTPResponse methods (#15241) 2026-01-09 17:23:41 +01:00
Emmanuel Ferdman f30821cf01 [functools] Allow method override with @cache decorator (#15238) 2026-01-09 16:18:58 +01:00
Semyon Moroz 63ea326f8c [zstd] Update to ~=1.5.7.3 (#15242)
Closes: #15239
Diff: https://github.com/sergey-dryabzhinsky/python-zstd/compare/v1.5.7.1...v1.5.7.3
2026-01-09 02:02:28 -08:00
Emmanuel Ferdman 9a175299c4 [docker] Fix Container.attach() return type (#15155) 2026-01-08 19:01:24 +01:00
renovate[bot] f8b61f65d4 Update dependency uv to v0.9.22 (#15200) 2026-01-08 12:24:11 +01:00
Sebastian Rittau 7b3d25dcac Update mypy to 1.19.1 (#15235)
Skip gdb stubtest for now
2026-01-08 11:47:35 +01:00
Sebastian Rittau dc0acad81a Install grpcio-tools when using Python 3.14 (#15233)
grpcio-tools wheels are now available for Python 3.14.
2026-01-08 11:25:24 +01:00
Semyon Moroz b20bcf7f07 [xml.etree] Deprecate parser parameter in iterparse function (#15227) 2026-01-08 11:06:18 +01:00