Skip to content

spdl: require strict zip calls (#1660) - #1660

Merged
meta-codesync[bot] merged 1 commit into
mainfrom
export-D121805785
Sep 25, 2026
Merged

meta-codesync[bot] merged 1 commit into
mainfrom
export-D121805785

Conversation

@moto-meta

@moto-meta moto-meta commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Pass an explicit strict argument to every Python zip call in SPDL code, tests, and documentation. Use strict=True for equal-length invariants so mismatches fail instead of silently truncating, and use strict=False where truncation is intentional. Document the convention in the code-authoring guide.

Differential Revision: D121805785

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 25, 2026
@meta-codesync

meta-codesync Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

@moto-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D121805785.

Summary:

Pass an explicit strict argument to every Python zip call in SPDL code, tests, and documentation. Use strict=True for equal-length invariants so mismatches fail instead of silently truncating, and use strict=False where truncation is intentional. Document the convention in the code-authoring guide.

Differential Revision: D121805785
@meta-codesync meta-codesync Bot changed the title spdl: require strict zip calls spdl: require strict zip calls (#1660) Sep 25, 2026
@meta-codesync
meta-codesync Bot merged commit 8c4f864 into main Sep 25, 2026
112 of 116 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants