Repository navigation
Align memoryview scalar, cast, and indexing controls - #9692
youknowdot wants to merge 4 commits into
Conversation
Copy overlapping self assignments, acquire source buffers before slice callbacks, and convert tuple indices one dimension at a time through the shared descriptor bounds logic. Reuse sequence index conversion for size errors and preserve CPython release/error precedence. Assisted-by: OpenAI Codex:model version not exposed
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
Assisted-by: OpenAI Codex:model version not exposed
Assisted-by: OpenAI Codex:model version not exposed
Assisted-by: OpenAI Codex:model version not exposed
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
Align memoryview scalar formats, casts, indexing, and assignment with CPython 3.15.
@formats.The related scalar work is composed into this PR to avoid a second overlapping memoryview change. Total: 630 changed lines across six production Rust files. No Python/Lib/test logic, marker, or workflow changes.
Validation
-D warningsremains blocked by that unchanged baseline; no lint suppression or unrelated edits.The shared binder retains some malformed-call diagnostic wording differences from Clinic; no per-function parser was added. Restricted-view cast ordering was source-reviewed rather than exercised with an artificial exporter. Inherited half-precision signaling-NaN payload behavior and general comparison parser corners remain outside this change. No claim of complete diagnostic or NaN payload parity is made.
AI-assisted implementation and independent review using OpenAI Codex; model version is not exposed.