Skip to content

bpo-30346: Exhaust groupby() sub-iterator when move the primary iterator#1569

Merged
serhiy-storchaka merged 2 commits into
python:masterfrom
serhiy-storchaka:groupby-exhausted
Sep 24, 2017
Merged

bpo-30346: Exhaust groupby() sub-iterator when move the primary iterator#1569
serhiy-storchaka merged 2 commits into
python:masterfrom
serhiy-storchaka:groupby-exhausted

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 13, 2017

Copy link
Copy Markdown
Member

now becames exhausted after advancing the groupby iterator.
@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label May 13, 2017
@mention-bot

Copy link
Copy Markdown

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rhettinger, @kristjanvalur and @tiran to be potential reviewers.

@DimitrisJim

DimitrisJim commented May 13, 2017

Copy link
Copy Markdown
Contributor

It seems you have created two PRs (by accident?) for this issue (this PR and #1568).

@serhiy-storchaka

Copy link
Copy Markdown
Member Author

Yes, I have created two alternate PRs by intention.

@serhiy-storchaka serhiy-storchaka changed the title bpo-30346: An iterator produced by itertools.groupby() iterator bpo-30346: Exhaust groupby() sub-iterator when move the primary iterator May 13, 2017
@kristjanvalur

Copy link
Copy Markdown
Contributor

I prefer the other solution (PR #1568)

@serhiy-storchaka

serhiy-storchaka commented Sep 24, 2017

Copy link
Copy Markdown
Member Author

Thank you @rhettinger! I prefer the other solution (#1568), but this also LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants