bpo-38200: Add itertools.pairwise()#23549
Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
The code LGTM. Needed documentation, tests, and implementation of __reduce__.
|
I'm intending to leave out
|
|
Greetings. It's exciting to see new tools added to the Standard Library. Since If a more general tool is needed (e.g. one that applies to iterators), then I think it's worth generalizing the window size as well. I understand the topic of sliding-windows has been discussed in the past, but that was prior to officially adopting a windowing tool like Many thanks. |
|
Hi @pylang — python-dev does not use pull requests for design discussions, only code reviews. |
This is a first draft. Needs more thought on refcnts. Needs docs, tests, and a better doctstring.
https://bugs.python.org/issue38200