Repository navigation
Remove redundant concrete signature default overrides - #9558
Conversation
Reuse ArgIntoBool::py_default for eleven constant booleans, and declare four existing Option None defaults directly. Runtime field types, argument conversion, function bodies, and rendered Python defaults are unchanged. Preserve semantic and symbolic overrides. Source-reviewed against CPython 3.15.0 d220409a13b77de7a6c30abe16ea90db01528edc. No test assertions or Lib files changed. Native validation remains subject to the available dependency closure. Assisted-by: OpenAI Codex:model version not exposed
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
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. |
Summary
Remove 15 redundant
py_defaultannotations without changing argument types, function bodies, assertions, or rendered Python signatures.ArgIntoBool::py_default()for 11 existing constant boolean defaults in binascii.Option<T>None defaults directly: bothcopy_file_rangeoffsets andchmod.dir_fdin posix and posix_compat.Rawto typedBool/None, which render the same text. This does not depend on Support Python None defaults in object argument declarations #9557.follow_symlinks.Source-reviewed against CPython 3.15.0 at d220409a13b77de7a6c30abe16ea90db01528edc: binascii defaults, chmod, and copy_file_range.
Validation
test_binasciiandtest_os, were attempted offline. All stopped before compilation because the pinnedparking_lot_coregit dependency is unavailable locally. No runtime tests have passed locally; CI remains pending.AI-assisted implementation and review with OpenAI Codex; model version not exposed.
Summary by CodeRabbit