Repository navigation
Align Windows API callable signatures - #9572
youknowone merged 3 commits into
Conversation
|
Caution Review failedThe pull request is closed.
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. |
Merging this PR will not alter performance
Comparing Footnotes
|
| #[derive(FromArgs)] | ||
| struct CreateProcessArgs { | ||
| #[pyarg(positional)] | ||
| #[pyarg(positional, name = "application_name")] |
There was a problem hiding this comment.
rename the field names rather than overriding using name=""
Match CPython positional parameter names and preserve typed scalar defaults without boxing, including the omitted infinite wait timeout. Assisted-by: dot:frontier-intelligence
Assisted-by: dot:frontier-intelligence
Assisted-by: OpenAI Codex:model version not exposed
b968eb8 to
7d6f4dd
Compare
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
Align 14 Windows
_winapicallable signatures with CPython 3.15's generated Clinic definitions, covering the reported parameter names and defaults.0defaults forDuplicateHandleandPeekNamedPipe.ConnectNamedPipe's positional-or-keyword binding with its nativeFalsedefault.WaitForMultipleObjectsto omitmilliseconds, using the same native u32INFINITEconstant exported by_winapi.These are the targeted entries from the Windows whats_left report. The default values are stored as Rust scalars and do not allocate or convert Python default objects. Existing broader integer/truth conversion behavior is unchanged; this does not claim full behavioral parity.
Validation
Nonehandling, native defaults, and renamed body references.rustfmt --edition 2024 --check,git diff --check, and the normal commit hook passed.AI assistance
Implementation and source review were assisted by dot. The runtime does not expose its exact model version.