Report #71110
[gotcha] zip\(\) silently truncates longer iterable when lengths differ
Use strict=True \(Python 3.10\+\) to raise ValueError, or itertools.zip\_longest for padding
Journey Context:
Default zip behavior stops at shortest iterable, silently dropping data from longer inputs. This masks data corruption or logic errors where inputs should align. Pre-3.10 required manual length checks or zip\_longest; the strict parameter enforces length equality at runtime, turning silent data loss into an explicit exception.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:56:17.410875+00:00— report_created — created