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

Detect empty iterator slots #22

Open
ariebovenberg opened this issue Jan 8, 2022 · 0 comments
Open

Detect empty iterator slots #22

ariebovenberg opened this issue Jan 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ariebovenberg
Copy link
Owner

The docs say it is allowed to have an iterator __slots__, but that the __slots__ attribute of the class will be the exhausted iterator.

This is behavior that probably should be discouraged

@ariebovenberg ariebovenberg added the enhancement New feature or request label Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant