-
Notifications
You must be signed in to change notification settings - Fork 109
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
yield inside of list comprehension #132
Comments
BTW In general I don't care if the errors don't match exactly for older versions. In this case both messages make sense for 3.7 and 3.8. We can simply use the 3.8 version for all Python versions and somehow adjust the tests IMO. |
The main problem with this issue is that usage of
|
Looks like things are a bit tricky here. The current code is checking Approach 1: with
|
@gousaiyang I guess I'm ok with whatever you come up with. My gut tells me that lambdef is a type of context. But if you feel like the other approach is better, feel free to do that. In general I think with these kinds of issues good test coverage is probably almost more important than good code :) |
for <=py3.7
py3.8>=
The text was updated successfully, but these errors were encountered: