We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
# cython: binding=False def f(h): def g(l): if isinstance(l, list): for x in l: yield from g(x) else: yield l return [x for x in g(h)] print(f([1,[2, 3]]))
No response
Linux
3.11
latest
The text was updated successfully, but these errors were encountered:
Fix closures with binding=False
a0d0b25
Fixes cython#6556
Successfully merging a pull request may close this issue.
Describe the bug
Code to reproduce the behaviour:
No response
Expected behaviour
No response
OS
Linux
Python version
3.11
Cython version
latest
Additional context
No response
The text was updated successfully, but these errors were encountered: