Skip to content

chore: set strict= on all zip() calls#111

Merged
alexsander-souza merged 1 commit intocanonical:resolute_supportfrom
alexsander-souza:fix_python_zip
Apr 6, 2026
Merged

chore: set strict= on all zip() calls#111
alexsander-souza merged 1 commit intocanonical:resolute_supportfrom
alexsander-souza:fix_python_zip

Conversation

@alexsander-souza
Copy link
Copy Markdown
Contributor

Use strict=True where both iterables must have the same length, so a mismatch raises ValueError immediately instead of silently truncating. Use strict=False where one iterable is intentionally infinite (count, cycle, repeat) or lengths may legitimately differ.

Use strict=True where both iterables must have the same length,
so a mismatch raises ValueError immediately instead of silently
truncating. Use strict=False where one iterable is intentionally
infinite (count, cycle, repeat) or lengths may legitimately differ.
@alexsander-souza alexsander-souza merged commit dedcb6a into canonical:resolute_support Apr 6, 2026
1 of 2 checks passed
@alexsander-souza alexsander-souza deleted the fix_python_zip branch April 6, 2026 22:47
alexsander-souza added a commit that referenced this pull request Apr 8, 2026
Use strict=True where both iterables must have the same length, so a mismatch raises ValueError immediately instead of silently truncating. Use strict=False where one iterable is intentionally infinite (count, cycle, repeat) or lengths may legitimately differ.
alexsander-souza added a commit that referenced this pull request Apr 8, 2026
Use strict=True where both iterables must have the same length, so a mismatch raises ValueError immediately instead of silently truncating. Use strict=False where one iterable is intentionally infinite (count, cycle, repeat) or lengths may legitimately differ.
alexsander-souza added a commit that referenced this pull request Apr 9, 2026
Use strict=True where both iterables must have the same length, so a mismatch raises ValueError immediately instead of silently truncating. Use strict=False where one iterable is intentionally infinite (count, cycle, repeat) or lengths may legitimately differ.
alexsander-souza added a commit that referenced this pull request Apr 17, 2026
Use strict=True where both iterables must have the same length, so a mismatch raises ValueError immediately instead of silently truncating. Use strict=False where one iterable is intentionally infinite (count, cycle, repeat) or lengths may legitimately differ.
alexsander-souza added a commit that referenced this pull request Apr 17, 2026
Use strict=True where both iterables must have the same length, so a mismatch raises ValueError immediately instead of silently truncating. Use strict=False where one iterable is intentionally infinite (count, cycle, repeat) or lengths may legitimately differ.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants