Repository navigation
Conversation
- Specify the handling of whitespace in strings tested against sys_abi_info: spaces and tabs adjacent to the "::" separator are ignored, everything else is compared as an opaque string. - Declare the marker's type as "Set of strings" and refer to the existing rules for such fields; drop the "frozen set" wording. - Clarify that a required feature whose sys.abi_info field has an unsupported type falls back to the rules for older interpreters. - Add a section on serialized marker environments, recommending a sorted JSON array and discussing tools that probe a target interpreter. Assisted-by: Claude Code:claude-fable-5-2
Documentation build overview
|
rgommers
self-requested a review
November 23, 2026 16:16
zklaus
marked this pull request as ready for review
November 24, 2026 12:33
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PEP 123: Summary of changes)Follow-up to #4608, addressing feedback from the
discussion thread and findings from
updating the reference implementation.
::separatorare ignored in strings tested against
sys_abi_info, and that everythingelse is compared as an opaque string. A non-matching string is absent from
the set, not an error.
Set of stringsin the marker tableand refer to the existing rules for such fields. Replace "frozen set" with
"set".
sys.abi_infofield has an unsupported type falls back to the rules for older
interpreters.
Compatibility.
sys_abi_infois the first non-string value in the defaultmarker environment, which affects tools that serialize it (
pip inspect,pip install --report,pdm info --env) and tools that probe a targetinterpreter (
tox). Recommends a sorted JSON array of the strings.The reference implementation (packaging, patched pip, demo package) has been
updated to match.
Assisted-by: Claude Code:claude-fable-5-2