Commit Graph

11386 Commits

Author SHA1 Message Date
Bera 42f7953e7f [http.cookies] Fix wrong return type in BaseCookie.value_encode (#15267) 2026-01-23 12:39:16 +01:00
Thanos 15f6b0ac15 [contextlib] Deprecate @(async)contextmanager wrapping a function returning Iterator (#12087) 2026-01-23 12:06:18 +01:00
Randolf Scholz 5c49b1fe49 Specialize plain slice type hints (#13007) 2026-01-23 10:35:39 +01:00
github-actions[bot] 2ff920f291 [stubsabot] Bump jmespath to 1.1.* (#15315)
Release: https://pypi.org/pypi/jmespath/1.1.0
Homepage: https://github.com/jmespath/jmespath.py
Repository: https://github.com/jmespath/jmespath.py
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/jmespath
Diff: https://github.com/jmespath/jmespath.py/compare/1.0.1...1.1.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 3 files included in typeshed's stubs have been modified or renamed: `jmespath/__init__.py`, `jmespath/functions.py`, `jmespath/parser.py`.
 - Total lines of Python code added: 40.
 - Total lines of Python code deleted: 128.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2026-01-23 07:35:02 +00:00
Alex Waygood 80fd73de22 Use stricter pyright settings when testing punq in CI (#15314) 2026-01-22 13:52:43 +01:00
Hoël Bagard a3568ac8d9 [tensorflow] Fix tf.tile (#15306) 2026-01-20 08:59:09 +01:00
John Hattas 4992a813c1 [geopandas] Add lz4 and zstd compression to to_parquet (#15195) 2026-01-19 16:49:03 +01:00
Stephen Morton cc24a838fc [socket/_socket] Restore bluetooth socket constants on Linux (#15209) 2026-01-19 15:56:32 +01:00
Hoël Bagard 2bcf7bb270 [tensorflow]: Add tf.tile (#15300) 2026-01-19 15:55:16 +01:00
Abraham Murciano a7e3fca322 [punq] Add missing return type for Container.register() (#15301) 2026-01-19 15:54:09 +01:00
Hoël Bagard 64f965e5aa tensorflow: add Activation, GlobalAveragePooling2D and MaxPool2D layers (#15302) 2026-01-19 09:23:31 +01:00
Semyon Moroz d2154f5ad8 Style and formatting docs fixes (#15299)
* Add PEP links for more context
* Normalize the virtualenv name from `.venv3` to `.venv` (the [documentation suggests](https://github.com/python/typeshed/blob/main/CONTRIBUTING.md#-or-create-a-local-development-environment) creating a `.venv` name, not `.venv3`so `venv3` is not used anywhere else)
2026-01-18 09:49:20 +01:00
Semyon Moroz b94c9e8e48 [dis] Deprecate show_caches parameter in get_instructions (#15294) 2026-01-16 20:24:51 +01:00
Randolf Scholz 236a8c0b08 allow arbitrary types in set difference (#15160) 2026-01-16 13:36:23 +00:00
Semyon Moroz bcf2ccf0a3 [reportlab] Update to 4.4.9 (#15290) 2026-01-16 12:14:54 +01:00
Semyon Moroz ba6dbf4573 [urllib] Deprecate addinfourl methods (#15291) 2026-01-16 08:41:35 +01:00
github-actions[bot] 7c0301e620 [stubsabot] Bump Send2Trash to 2.1.* (#15197) 2026-01-16 06:32:58 +01:00
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