Harden deferred instantiate dispatch on 1.3 - #3417
Conversation
💡 Codex ReviewLine 20 in 259cccd The assignment expression makes ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Code Review ✅ ApprovedHardens deferred instantiate dispatch on 1.3 by rejecting the two-argument iter callback overload while preserving ordinary iteration, and denying direct partial-call and property-getter dispatch before side effects can run. No issues found. OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Apply the three frozen coordinated policy additions to Hydra 1.3: reject two-argument
iter(callable, sentinel)while preserving ordinary iteration, and deny directfunctools.partial.__call__andbuiltins.property.__get__dispatch before side effects can run.This is the 1.3 counterpart to #3415 and complements #3412/#3413.
Verification:
iterguard match the main implementation.