FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-113202: Add a strict option to itertools.batched() by rhettinger · Pull Request #113203 · python/cpython · GitHub

Repository navigation

gh-113202: Add a strict option to itertools.batched() - #113203

Merged
rhettinger merged 5 commits into
python:mainfrom
rhettinger:batched_strict
Dec 16, 2023
Merged

rhettinger merged 5 commits into
python:mainfrom
rhettinger:batched_strict

Conversation

rhettinger commented Dec 16, 2023 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

hauntsaninja left a comment •
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the feature!

One possible nit could be a more explicit error message. I checked what more_itertools.chunked does and based the suggestion off of it

Comment thread Modules/itertoolsmodule.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL