Skip to content

[pull] main from python:main - #1344

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

[pull] main from python:main#1344
pull[bot] merged 8 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Aug 5, 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 : )

encukou and others added 8 commits August 5, 2026 08:52
Co-authored-by: Vamsi-klu <nrvamsi13@gmail.com>
Co-authored-by: Ned Deily <nad@python.org>
GH-155191)

Parameters with a default value which are not in any group were always
required in the generated argument parsing code, although they were
rendered as optional in the signature.  They can now be omitted, and
ambiguous combinations of optional groups and parameters with a default
value are rejected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…5208)

--dry-run lists the files which would be changed, and --diff writes
a unified diff of the changes to the standard output.  No file and no
directory is created or modified in these modes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
They were emitted in the iteration order of a set of group identifiers.
The identifiers of the groups before the required parameters are small
negative integers, -1 and -2 have the same hash, so their order depended
on the size of Py_hash_t, and the code generated on a 32-bit platform
differed from the checked in one.

They are now emitted in the order of the parameters.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The --converters option now accepts file names and can be used with
--make.  It parses the specified files, without writing anything, and
prints the converters and return converters which they define, instead
of the built-in ones.

Legacy converters whose format unit does not start with a letter, like
those defined in Modules/posixmodule.c, were silently omitted from the
list; they are now printed on a separate line.

A directory passed as a file name raised IsADirectoryError instead of
reporting an error, in every mode.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…nt Clinic (GH-155210)

Groups on the same nesting level, like in "[y, x,] [n,] attr", can now be
omitted independently of each other.  A group is now identified by a unique
number instead of its nesting level.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…() (GH-155163)

They run the test subprocess with specific interpreter command line options
and environment variables, and limit how long it may take.  All are
keyword-only.  env is layered over the inherited environment; a None value
unsets a variable.  There is no timeout by default.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Aug 5, 2026
@pull pull Bot added the ⤵️ pull label Aug 5, 2026
@pull
pull Bot merged commit 1d90627 into tj-python:main Aug 5, 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.

3 participants