Skip to content

[pull] main from python:main - #1370

Merged
pull[bot] merged 11 commits into
tj-python:mainfrom
python:main
Aug 13, 2026
Merged

[pull] main from python:main#1370
pull[bot] merged 11 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Aug 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

marinelay and others added 11 commits August 13, 2026 12:29
…55520)

glibc only grew copy_file_range() and memfd_create() in 2.27, and we compile
the os functions out when the libc we build against doesn't have them. That
loses them for good in a redistributable built against an older glibc, such
as the python-build-standalone builds targeting glibc 2.17, even when the
kernel it runs on implements the syscalls.

Keep calling the libc wrappers when they are available, so we don't lose
their symbol versioning and _FORTIFY_SOURCE checks, and issue the syscall
directly when they aren't. If the syscall number is missing as well, the
functions are still left out. pidfd_open() and pidfd_getfd() already use raw
syscalls, so nothing changes for them.

Include <sys/syscall.h> whenever it exists rather than only when the
getrandom() syscall was detected, since __NR_* is now needed for more than
getrandom().

Signed-off-by: Daan De Meyer <daan@amutable.com>
Convert all convertible functions and methods of the socket module.
They now have signatures for introspection, and functions which take
several arguments use METH_FASTCALL instead of METH_VARARGS.

ioctl(), sendto() and setsockopt() are left as they are.  Their
behaviour depends on the number of the arguments or on the value of a
preceding argument, which Argument Clinic cannot express.
Test that re-evaluating a `ForwardRef` with `STRING` format uses the cache
…rtial` (#155663)

Test `get_annotations()` on wrapped cyclical `functools.partial`
…nterpolation` (#155661)

Test `type_repr()` of `Template` with invalid syntax in `Interpolation`
Revert test changes from commit 208195d by request of IDLE maintainer Terry Reedy.
printlist() used textwrap.fill(), which breaks words longer than the
line width.
)

With --single-process-per-case, tests and case_groups contain all test
cases of the whole run.  Copying them for every test case was slow and
could produce a too long command line.  The worker needs neither.
@pull pull Bot locked and limited conversation to collaborators Aug 13, 2026
@pull pull Bot added the ⤵️ pull label Aug 13, 2026
@pull
pull Bot merged commit dd1194e into tj-python:main Aug 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants