-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a strict option to itertools.batched() #113202
Labels
type-feature
A feature request or enhancement
Comments
rhettinger
added a commit
that referenced
this issue
Dec 16, 2023
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
rhettinger
added a commit
to rhettinger/cpython
that referenced
this issue
Feb 24, 2024
rhettinger
added a commit
that referenced
this issue
Feb 24, 2024
woodruffw
pushed a commit
to woodruffw-forks/cpython
that referenced
this issue
Mar 4, 2024
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Apr 17, 2024
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is modeled on the
strict
option forzip()
.One use case is improving the
reshape()
recipe. In numpy, a reshape will raise an exception if the new dimensions do not exactly fit the data.Linked PRs
The text was updated successfully, but these errors were encountered: