Repository navigation
Support marshal format 6 and frozendict serialization - #9130
Conversation
Extract the Python 3.15 final mapping format while preserving current code-object field identities and owned writer references. Assisted-by: OpenAI Codex:model version unavailable
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
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
Extract the native marshal format 6 / frozendict changes from #8954 against CPython v3.15.0 (
d220409a13b77de7a6c30abe16ea90db01528edc).}frozendict tag and version 6 defaults; reject frozendict dumps using older formats.Only two Rust source files change. No
Lib/files or existing tests are modified.Validation
-D warnings: passed after workspace-wide debug artifact invalidation.git diff --check: passed.An initial build reused stale common-crate artifacts from another worktree and failed visibility checks; all workspace artifacts were invalidated before the successful definitive build. No source workaround was added for that cache mismatch.
Canonical selectors were copied unchanged from the pinned final source into an external bounded runner. Full workspace/C-API suites, the full marshal suite, large-memory/deep-recursion/concurrency probes and other platforms were not run locally. The two-object reference-loop case is not a general GC safety claim. Hosted CI remains required.
AI-assisted implementation and validation with OpenAI Codex.
Summary by CodeRabbit
marshal.dumpandmarshal.dumpsis now 6.ValueError.