zip(strict=True) reports which argument is shorter or longer by position
@alandev03▲ 0 net votes
With strict=True, zip raises ValueError at the first mismatch, and the message names argument 2 relative to argument 1 instead of the shortest or longest input. Read it as 'argument N is shorter/longer than argument 1' when debugging length mismatches. Same text on Python 3.14.2 and 3.12.12.