Victor Stinner
9eb50a40b4
gh-149879: Fix multiprocessing tests on Cygwin ( #150031 )
...
* Disable AF_UNIX connection family on Cygwin.
* forkserver start method is not available on Cygwin: update tests
for that.
* test_logging calls multiprocessing.get_all_start_methods().
2026-05-19 00:45:35 +02:00
Stefanie Molin
0aa59ce2d4
gh-72088: clarify inspect.ismethod and inspect.isfunction (and related) usage with class-level access (GH-150013)
...
Co-authored-by: CHINMAY <89741289+Das-Chinmay@users.noreply.github.com>
2026-05-19 00:42:55 +02:00
ankhikarmakar
5775aa8e29
gh-149980: Strip all trailing slashes from GNU long directory names in tarfile (GH-150019)
2026-05-18 19:31:15 +00:00
sobolevn
6d5be4b1d6
gh-149977: Fix extra output of -m test test_lazy_import ( #149978 )
2026-05-18 21:55:27 +03:00
Jeff Epler
806c997f55
gh-140344: ast: Add deprecation warnings ( #140345 )
...
These were all deprecated in 3.9 (bace59d8b8 ) but without
a runtime deprecation warning. Add it now, so that these
items can be removed in 3.21 per PEP 387.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2026-05-18 11:20:49 -07:00
Jan Brasna
dbd8985e82
gh-95816: Fix TLS version range example in docs (GH-148574)
...
docs(ssl): Fix TLS version range example
2026-05-18 18:01:56 +00:00
Kumar Aditya
00ea77613b
gh-149816: fix thread safety of deletion of list slice ( #149936 )
2026-05-18 22:08:37 +05:30
Kumar Aditya
1692854706
gh-149816: fix dict.clear() race on split-table dict with non-embedded values ( #149914 )
2026-05-18 21:39:45 +05:30
sobolevn
14af19e6c0
gh-149816: Fix a RC in _random.Random.__init__ method ( #149824 )
2026-05-18 18:39:54 +03:00
Hugo van Kemenade
f4cb79aa43
gh-146531: Skip hanging wm iconbitmap test on macOS 26 Intel ( #148032 )
2026-05-18 14:57:02 +00:00
Maurycy Pawłowski-Wieroński
a2932e9c95
gh-149464: Add os.pidfd_getfd(pidfd, targetfd, flags=0) function ( #149465 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-05-18 16:29:58 +02:00
Nathan Goldbaum
bd6bf91fcb
gh-149887: Install python3t.lib for GIL-enabled Windows install (GH-149900)
2026-05-18 14:24:06 +01:00
Nezuko Agent
0ed497a350
gh-149953: Fix null pointer dereference order in code_objects.c ( #149956 )
...
Move check before
2026-05-18 11:28:28 +03:00
Lukas Geiger
18281db0d0
gh-144140: Optimize len for frozen dict/set constants in optimizer ( #149969 )
2026-05-18 12:20:42 +05:30
Pieter Eendebak
6ee879ffa1
gh-138325: steal list items in INTRINSIC_LIST_TO_TUPLE opcode ( #149960 )
2026-05-18 12:07:12 +05:30
AN Long
acefff95ea
gh-149921: Fix reference leaks in _interpchannels and _interpqueues modules ( #149922 )
2026-05-17 13:09:19 +03:00
Farhan Saif
e62a61177f
gh-146452: Fix pickle segfault on concurrent mutation of dict in pickle ( #146470 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2026-05-17 14:35:27 +05:30
Serhiy Storchaka
1cbe035723
gh-149916: Restore the commented out part of test_body_encode in test_email (GH-149917)
2026-05-17 11:06:35 +03:00
Mani Salahmand
1bab6c9192
gh-149857: Clarify multiprocessing Process argument wording (GH-149919)
...
Use consistent 'picklable' wording
2026-05-16 23:01:50 -07:00
Savage Mechanic
5f8d9d3575
gh-67512: Document IMAP4.append() flags argument ( #149907 )
2026-05-16 11:24:41 -07:00
Victor Stinner
a7ed0c9e1d
gh-149879: Fix test_socket on Cygwin ( #149913 )
...
Disable SCM_RIGHTS, recvmsg(), sendmsg() and sethostname() on Cygwin.
2026-05-16 10:02:19 +00:00
Victor Stinner
436a6f2894
gh-149879: Fix test_os on Cygwin ( #149910 )
2026-05-16 10:50:55 +02:00
sobolevn
46afba7b93
gh-149816: Fix a race condition in _PyBytes_FromList with free-threading ( #149909 )
2026-05-16 08:37:34 +00:00
Victor Stinner
e56ae817e5
gh-149879: Fix test_resource on Cygwin ( #149903 )
...
Setting RLIMIT_FSIZE or RLIMIT_CPU fails with EINVAL on Cygwin.
2026-05-15 23:09:36 +00:00
Victor Stinner
1441f2f735
gh-149879: Don't import msvcrt in _pyio on Cygwin ( #149899 )
...
The msvcrt extension module cannot be built on Cygwin.
2026-05-15 21:11:09 +00:00
Victor Stinner
c92ef3a6de
gh-149879: Fix test_tarfile on Cygwin ( #149897 )
...
On Cygwin, there is no root user (uid 0).
Fix test_realpath_limit_attack(): the test fails with ELOOP on
Cygwin.
2026-05-15 20:49:37 +00:00
Victor Stinner
d9ad171ced
gh-149879: Fix test_signal on Cygwin ( #149896 )
...
* Check for SIG_BLOCK instead of pthread_sigmask() to decide if
SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK constants should be
converted to enums.
* Skip ITIMER_VIRTUAL and ITIMER_PROF tests on Cygwin: setitimer()
fails with ItimerError(EINVAL).
2026-05-15 21:32:10 +02:00
Stan Ulbrych
9ee9f58747
gh-149567: Remove deprecated shutil.ExecError ( #149568 )
2026-05-15 18:54:05 +01:00
Victor Stinner
9778db13f7
gh-149879: Set thread name max length on Cygwin ( #149890 )
...
This change fix test_threading on Cygwin.
2026-05-15 16:57:05 +00:00
Victor Stinner
c92588efd3
gh-149879: Fix test_pwd on Cygwin ( #149880 )
...
On Cygwin, pwd.getpwuid(-1) returns an user ('Unknown+User').
2026-05-15 16:33:46 +00:00
sobolevn
8be3fb1b50
gh-142349: Add help("lazy") support ( #149886 )
2026-05-15 16:30:40 +00:00
Victor Stinner
c575172425
gh-149879: Fix sys.orig_argv[0] on Cygwin: add ".exe" suffix ( #149885 )
2026-05-15 15:55:34 +00:00
Carlo Bramini
50aff5fc5c
gh-149831: Fix ctypes DLL library name on Cygwin ( #149832 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-05-15 14:29:26 +00:00
Hugo van Kemenade
a318a9d8d7
CI: Move Homebrew dependencies into Brewfile ( #148335 )
...
Co-authored-by: Brett Cannon <brett@python.org>
2026-05-15 17:03:46 +03:00
Carlo Bramini
3fafbc8e56
gh-149833: Change DLL prefix to "cygpython" on Cygwin ( #149834 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-05-15 15:54:08 +02:00
Steve Dower
1c5fe21eb2
gh-149786: Fixes venvlauncher builds on Windows free-threaded (GH-149847)
2026-05-15 14:43:41 +01:00
Steve Dower
4aa296f9c4
gh-138489: Add build-details.json generation to PC/layout (GH-149153)
2026-05-15 13:51:27 +01:00
Victor Stinner
a0551b1a12
gh-148200: Update Modules/_hacl/ for Cygwin ( #149802 )
...
This pulls an updated version of HACL* that fixes Lib_Memzero0.c on
Cygwin, via an upstream fix.
2026-05-15 14:42:30 +02:00
sobolevn
1fdf033774
gh-149816: Fix race condition in memoryview with free-threading ( #149858 )
2026-05-15 15:38:51 +03:00
Serhiy Storchaka
20438866ae
gh-149801: Add IANA registered names and aliases with leading zeros (GH-149804)
...
Like IBM00858, CP00858, IBM01140, CP01140.
2026-05-15 14:34:48 +03:00
Victor Stinner
3ecca22567
gh-148675: Use a string for ctypes cparam tag ( #149778 )
2026-05-15 13:25:09 +02:00
Victor Stinner
a8ef4679cb
gh-148675: Reuse typecodes for array.array() error message ( #149779 )
...
array.array() error message now reuses array.typecodes, instead of
maintaining an hardcoded list of valid type codes.
2026-05-15 13:22:40 +02:00
Victor Stinner
5465b69255
gh-149707: Fix compiler warning in _ctypes_test on strchr() ( #149791 )
...
Change my_strchr() return type to "const char*" (add "const").
Fix the compiler warning:
Modules/_ctypes/_ctypes_test.c: In function 'my_strchr':
Modules/_ctypes/_ctypes_test.c:451:12: warning: return discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
451 | return strchr(s, c);
| ^~~~~~
When using C23, strchr(text, ch) return type is "const char*" if text
type is "const char*".
2026-05-15 13:04:50 +02:00
sobolevn
7e98debdf4
gh-149763: Improve availablity docs in select.rst ( #149764 )
2026-05-15 07:16:34 +00:00
Seth Larson
461b1d9631
gh-149144: Use decodeURIComponent() for UTF-8 support in js_output() (GH-149157)
2026-05-14 23:10:39 +02:00
Zachary Ware
c62c3710dc
gh-124111: Update Windows build to use Tcl/Tk 9.0.3 (GH-149477)
2026-05-14 12:47:28 -05:00
Petr Viktorin
c37529293d
Link to existing rules in compound_stmts.rst (GH-149811)
...
In gh-138418, `!` was added to links to rules that don't exist in
the docs, in order to silence broken link warnings.
However, productionlist doesn't parse the `!`, which ends up in
the rendered documentation. (It's possible that gh-127835 broke
the `!` support.)
Replace the names with ones that appear in docs:
- `star_named_expression` in the grammar corresponds to
`flexible_expression` in the docs
- `star_named_expressions` in the grammar corresponds to
`flexible_expression_list` in the docs
- `named_expression` in the grammar corresponds to
`assignment_expression` in the docs
Having two sets of names isn't great of course. Consolidating them
is tracked in (subissues of) gh-127833.
2026-05-14 18:47:52 +02:00
Serhiy Storchaka
c6f7368157
gh-148821: Add more tests for invalid XML encodings (GH-149820)
2026-05-14 13:10:28 +03:00
Stan Ulbrych
f1a47e79fb
gh-149698: Update bundled expat to 2.8.1 (GH-149699)
2026-05-14 01:21:03 +02:00
Carlo Bramini
50476a7e87
gh-148758: Fix dynamic loading file extensions for Cygwin ( #148759 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-05-13 21:50:24 +00:00