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

Flag unused iterators #800

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

JelleZijlstra
Copy link
Contributor

No description provided.

@JelleZijlstra JelleZijlstra merged commit 58124fe into quora:master Jul 22, 2024
9 checks passed
@JelleZijlstra JelleZijlstra deleted the mustuseiter branch July 22, 2024 17:15
@JelleZijlstra
Copy link
Contributor Author

The first version flagged all Iterators that were not used, but this had too many false positives, mostly an internal database iterator class that has def __iter__(self): return self.

Apart from those false positives, this found one harmless bug in the main codebase.

@JelleZijlstra JelleZijlstra restored the mustuseiter branch September 10, 2024 23:34
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.

1 participant