Repository navigation
Update Unicode name preparation and codecs to Python 3.15 - #9132
Conversation
Import stringprep and related codecs from CPython 3.15.0 using scripts/update_lib. Preserve the existing Windows codec test marker. Assisted-by: OpenAI Codex:model version unavailable
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters: 5
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: :4: SyntaxWarning: invalid decimal literal dependencies:
dependent tests: (175 tests)
[x] lib: cpython/Lib/stringprep.py dependencies:
dependent tests: (3 tests)
[x] lib: cpython/Lib/encodings dependencies:
dependent tests: (164 tests)
Legend:
|
Merging this PR will not alter performance
Comparing Footnotes
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Continue the Python 3.15 library split from #8954 with Unicode name preparation and its related codecs.
stringprepfrom CPython 3.15.0, including the Unicode 17 compatibility mappings while retaining Unicode 3.2 normalization/category semantics required by RFC 3454.bytearray.take_bytes()API, and sync the UU codec cleanup.test_cp_utf7expected-failure marker unchanged.All five files were imported using the repository's actual
scripts/update_lib migratecommand from CPython commitd220409a13b77de7a6c30abe16ea90db01528edc(v3.15.0). The four runtime files are byte-identical to that source; the test file differs only by its pre-existing RustPython marker. No hand-edited library compatibility patch or new test waiver is included.Validation
3ab5c0c2f207e335972cd16b776b9b522ffe7e0f, after cleaning all workspace release packages and parser/XML dependencies to avoid cross-worktree cache reuse.Nonefixture placeholders.git diff --checkpassed.No full codec/big-memory suite, full Rust workspace suite, or C-API suite was run locally. Hosted CI remains required.
AI assistance: OpenAI Codex (model version unavailable).