Victor Stinner
009e7b3698
gh-134064: Fix sys.remote_exec() error checking ( #134067 )
2025-05-18 00:24:40 +02:00
Jelle Zijlstra
fc7f4c3666
gh-134119: Fix crash from calling next() on exhausted template iterator ( #134120 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-05-17 12:23:19 -07:00
sobolevn
84914ad0e5
gh-133999: Fix except
parsing regression in 3.14 ( #134035 )
2025-05-17 17:57:02 +03:00
Kirill Podoprigora
7a9d46295a
gh-88275: Add missing __init__
method to match
example ( #120281 )
2025-05-17 15:11:19 +02:00
Clifford Gama
b41d79c776
Docs: fix spelling of "test case" in unittest
documentation ( #134137 )
2025-05-17 13:36:38 +02:00
Peter Bierma
af6b3b825f
Docs: C API: Improve documentation around non-Python threads with subinterpreters (GH-131087)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-05-17 10:58:41 +02:00
Victorien
9d73875072
gh-113878: fix versionadded
in dataclasses.field()
documentation ( #134065 )
2025-05-17 10:00:13 +02:00
Oleg Burnaev
c1c9ad1d5a
gh-133881: add forward reference to list.sort()
in lambda expression tutorial ( #133910 )
2025-05-17 09:59:37 +02:00
Bénédikt Tran
faac627e47
gh-133810: remove http.server.CGIHTTPRequestHandler
and --cgi
flag ( #133811 )
...
The CGI HTTP request handler has been deprecated since Python 3.13.
2025-05-17 09:58:16 +02:00
Serhiy Storchaka
2f1ecb3bc4
gh-134098: Fix handling %-encoded trailing slash in SimpleHTTPRequestHandler (GH-134099)
2025-05-17 10:11:34 +03:00
Serhiy Storchaka
fcaf009907
gh-133889: Improve tests for SimpleHTTPRequestHandler (GH-134102)
2025-05-17 10:00:56 +03:00
Serhiy Storchaka
71cf4dd622
gh-134109: Fix showing comments in pydoc output for argparse (GH-134110)
...
Comments immediately preceding the object's source code are used
if the object has no docstring.
Comments that do not describe the object should be separated from
the following source code by an empty line.
2025-05-16 23:29:14 +03:00
Saleh Dehqanpour
ea2d707bd5
gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027)
...
The code was changed in 0f7cddc308
(bpo-839496/gh-39531).
2025-05-16 19:12:40 +00:00
alexey semenyuk
ac8df4b589
gh-133286: add explanation about seq
for pathlib Pattern Language ( #133340 )
2025-05-16 18:42:06 +00:00
Bénédikt Tran
b5febf73b9
gh-134082: modernize docstrings in string.Formatter
( #134083 )
2025-05-16 18:36:48 +00:00
Kumar Aditya
d94b1e9cac
gh-133515: fix docs for unawaited coroutines in debug mode ( #134081 )
2025-05-16 21:01:15 +05:30
Alexey Makridenko
7a4a6cf2b8
gh-133604: remove deprecated java_ver
function ( #133888 )
2025-05-16 16:17:54 +02:00
Semyon Moroz
62f66caa8c
gh-124210: Add introduction to threading
docs ( #127046 )
...
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-05-16 15:17:29 +03:00
Bénédikt Tran
73d71a416f
gh-132388: test HACL* and OpenSSL hash functions in pure Python HMAC ( #134051 )
2025-05-16 14:00:01 +02:00
aeiouaeiouaeiouaeiouaeiouaeiou
1566c34dc7
gh-134069: bump HACL* revision to incoporate memset_s
( #134027 )
...
Bumps the HACL* revision to include recent revisions that corrects issues
building with legacy/cross-platform macOS SDKs.
Signed-off-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
2025-05-16 06:23:11 -04:00
AN Long
7a504b3d5d
gh-130000: Release the GIL in winreg when doing Windows API calls (GH-130001)
2025-05-16 00:00:06 +01:00
Steve Dower
6a22963291
Improve the administrative install docs for Python Install Manager (GH-134066)
2025-05-15 22:11:31 +01:00
Max Bachmann
20095fb29a
Fix GetNamedPipeHandleStateW on non-desktop Windows API partitions (GH-134049)
2025-05-15 21:12:10 +01:00
Semyon Moroz
52a7a22a6b
gh-77065: Use putwch
instead of putch
in getpass.win_getpass
( #134058 )
2025-05-15 15:14:31 +00:00
Bénédikt Tran
3f61ea3add
gh-133873: remove deprecated mark interface for wave.Wave_{read,write}
objects ( #133874 )
2025-05-15 14:52:07 +00:00
Hugo van Kemenade
319acf3d6c
gh-133410: Fix PR detection in build workflow ( #133671 )
2025-05-15 16:10:56 +03:00
Semyon Moroz
d029a1a1cb
gh-77065: add missing parameter echo_char
in getpass.fallback_getpass
( #133849 )
2025-05-15 15:07:34 +02:00
Max Bachmann
74c4e35ff1
Let PyUnicode_FromWideChar calculate the input length (GH-134045)
2025-05-15 11:56:50 +00:00
Max Bachmann
1c4b34c6cb
gh-134041: Make _winapi functions compatible with non-desktop API partitions (GH-134042)
2025-05-15 11:50:46 +00:00
Max Bachmann
43410953c2
gh-133572: Avoid using NTSTATUS on unsupported WinAPI partitions (GH-133573)
2025-05-15 11:59:11 +01:00
Hugo van Kemenade
54a6875adb
gh-119535: 3.15 minus π ( #134037 )
...
* Revert "gh-119535: Support 𝜋thon in Python 3.14 venvs (#125035 )"
This reverts commit fcef3fc9a5
.
* Revert "gh-119535: python𝜋 (#119536 )"
This reverts commit 3fc673e97d
.
2025-05-15 02:39:42 -07:00
sobolevn
7eaa097390
gh-133403: Check Tools/build/deepfreeze.py
with mypy ( #133802 )
2025-05-15 12:13:03 +03:00
sobolevn
c3a1da5b93
gh-133970: Make PEP750 types generic ( #133976 )
2025-05-15 09:11:46 +03:00
Serhiy Storchaka
e123a1d09b
Test also error messages in test_limit_int. (GH-134018)
2025-05-14 17:53:51 +00:00
Duane Griffin
ffaeb3dddf
gh-127081: add critical sections to dbm
objects (gh-132749)
2025-05-14 13:49:35 -04:00
Serhiy Storchaka
17d0fec702
Improve tests for str to Fraction conversion (GH-134010)
2025-05-14 20:16:07 +03:00
Maciej Olko
0afbd4e42a
Docs: remove link elements in builders other than HTML ( #133720 )
...
Fixes epub build
2025-05-14 10:03:07 -04:00
Jelle Zijlstra
9836503b48
gh-133701: Fix incorrect __annotations__
on TypedDict defined under PEP 563 ( #133772 )
2025-05-14 06:24:33 -07:00
Max Bachmann
5d118d0a92
gh-133580: Add missing exception to _sys_getwindowsversion_from_kernel32 (GH-133574)
2025-05-14 14:10:35 +01:00
Emma Smith
b44c824856
gh-132983: Style improvements for compression.zstd
( #133547 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-14 12:08:27 +00:00
Max Bachmann
e7ad59bd73
gh-133568: Only set HAVE_AF_HYPERV
on supported WinAPI partitions (GH-133569)
2025-05-14 11:42:33 +00:00
Max Bachmann
e528aef7e2
gh-133562: Skip security descriptors on unsupported Windows API partitions (GH-133563)
2025-05-14 11:34:41 +00:00
Joey Smith
3e23047363
gh-133986: Document string split algorithm when sep is None and maxsplit is 0 ( #133987 )
...
* Document string split algorithm when sep is None and maxsplit is 0
* Update Doc/library/stdtypes.rst
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
---------
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2025-05-14 06:17:26 -04:00
Rafael Fontenelle
6df39765e6
Remove trailing whitespace from python.gram ( #133858 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-05-14 10:52:19 +03:00
Sebastian Pipping
2eb49d278e
gh-133577: Add parameter formatter
to logging.basicConfig
(GH-133578)
2025-05-14 07:45:00 +01:00
Peter Hawkins
9ad0c7b0f1
gh-132641: fix race in lru_cache
under free-threading ( #133787 )
...
Fix race in `lru_cache` by acquiring critical section on the cache object itself and call the lock held variant of dict functions to modify the underlying dict.
2025-05-13 17:38:57 +00:00
Carey Metcalfe
35f47d0589
gh-132983: Fix small issues with zstd support in zipfile ( #133723 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
2025-05-13 16:43:09 +01:00
Serhiy Storchaka
18bf8f84aa
gh-95380: Remove the 1024 bytes limit in fcntl.fcntl() and fcntl.ioctl() (GH-132907)
2025-05-13 14:44:07 +00:00
Victor Stinner
fe9f6e829a
gh-133968: Add fast path to PyUnicodeWriter_WriteStr() ( #133969 )
...
Don't call PyObject_Str() if the input type is str.
2025-05-13 15:31:41 +02:00
Steve Dower
fc3cddd90a
gh-133928: Improvements to using/windows.rst (GH-133952)
2025-05-13 12:38:59 +01:00