You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Argument Clinic reads a missing optional positional argument in functions with **kwds #156219
so f(1) reads past the end of the argument tuple and usually crashes. For the same signature without **kwds the optional argument is guarded with if (nargs < 2) { goto skip_optional; }.
No function in the stdlib uses this combination yet, so it is only reproducible with new code — I ran into it while converting _csv.reader() (gh-155496).
Support for **kwds was added in 3.15 (gh-64490), so 3.15 and the main branch are affected.
Activity
gh-156219: Fix Argument Clinic for an optional argument with **kwds (G…
[3.15] gh-156219: Fix Argument Clinic for an optional argument with *…