Skip to content
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

For Python3 we need to NOT raise StopIteration #9

Open
brifordwylie opened this issue Sep 5, 2020 · 0 comments
Open

For Python3 we need to NOT raise StopIteration #9

brifordwylie opened this issue Sep 5, 2020 · 0 comments

Comments

@brifordwylie
Copy link
Member

It used to be for a generator to raise StopIteration was 'good'.. meaning it was a signal to the upstream consumer that stuff was done, but not the preferred way to do this is to simple 'return' from the generator. So anyway remove the raise StopIteration logic in chains.

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

No branches or pull requests

1 participant