-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add the iter()
builtin to checker C407
#152
Comments
iter()
builtint to checker C407
iter()
builtin to checker C407
I think there might be a subtle change in the possible exceptions thrown as per #59 |
See also #58 |
Oh! Alright. But for the existing cases in |
They probably are, PR's welcome. If you make a PR please ensure you add a changelog note, update the documentation, and create tests. |
|
You're right, since a generator is its own iterator:
|
@sauravsrijan released a fix to your issue in version 3.2.0: https://pypi.org/project/flake8-comprehensions/3.2.0/ As per comments on #58 and #59, I'm closing this issue, since it's not generally safe due to the change in possible raised exception from |
#59 deals with
|
You're right! |
iter()
The text was updated successfully, but these errors were encountered: