PEP 780: Address review feedback on whitespace, type, and serialization #5242
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 189 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.314
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5242"
general
weight: 0.35
konstin
Change is either:
[x] To a Draft PEP
[ ] To an Accepted or Final PEP, with Steering Council approval
[ ] To fix an editorial issue (markup, typo, link, header, etc)
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 everything
Type: declare the marker's type as Set of stringselse is compared as an opaque string. A non-matching string is absent from
the set, not an error.
in the marker table
Unsupported types: clarify that a required feature whose sys.abi_infoand refer to the existing rules for such fields. Replace "frozen set" with
"set".
Serialized marker environments: new subsection in Backwards sys_abi_infofield has an unsupported type falls back to the rules for older
interpreters.
Compatibility.
is the first non-string value in the defaultpip inspectmarker environment, which affects tools that serialize it (
,
pip install --report,pdm info --env) and tools that probe a targettox`). Recommends a sorted JSON array of the strings.interpreter (
The reference implementation (packaging, patched pip, demo package) has been
updated to match.
Assisted-by: Claude Code:claude-fable-5-2