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
PEP 709: Crash with lambda + nested scope #104602
Labels
type-bug
An unexpected behavior, bug, or error
Comments
carljm
added a commit
to carljm/cpython
that referenced
this issue
May 18, 2023
carljm
added a commit
that referenced
this issue
May 19, 2023
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Further fuzzing found this case that was also fixed by #104603: class __a:
__a[1] = [(1) for __b in [] for __a in [lambda : __a]] This one failed as follows:
which is different from the original repro case, which segfaulted. I'll see if I can distill a useful test case out of it. |
JelleZijlstra
added a commit
to JelleZijlstra/cpython
that referenced
this issue
May 19, 2023
This threw a SystemError before python#104603. Adding a separate test because this was a different failure mode than the other two new tests from python#104603, both of which used to segfault.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This crashes on main:
The original reproducer (found with my fork of https://github.com/carljm/compgenerator) was
Found in #104528 (comment) but turned out be unrelated to that PR.
Linked PRs
The text was updated successfully, but these errors were encountered: