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
Commit f6bf8fc
Browse filesBrowse the repository at this point in the historyBrowse files
fix(parse): reject a tuple % whose operand count disagrees with the format
Python raises TypeError when the operand count does not match the conversion
count, but the tuple path silently tolerated both shapes: extra operands were
dropped (the second call found no conversion left and returned the string
unchanged) and too few left a literal %s in the value. Either way a wrong
value reached the field instead of the field being skipped.
Counts conversions (skipping %% escapes) and errors on a mismatch, so the
assignment fails and the field is omitted — the same skip-don't-guess
invariant the += fix restored. Thanks to the Copilot review for catching it.
0 commit comments