[pull] main from python:main - #1344
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )