-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Crash on compilation of invalid AST involving walrus #109351
Labels
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
JelleZijlstra
added a commit
to JelleZijlstra/cpython
that referenced
this issue
Sep 12, 2023
AlexWaygood
added
the
type-crash
A hard crash of the interpreter, possibly with a core dump
label
Sep 13, 2023
JelleZijlstra
added a commit
that referenced
this issue
Sep 13, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 13, 2023
…ythonGH-109352) (cherry picked from commit 79101ed) Co-authored-by: Jelle Zijlstra <[email protected]>
This was referenced Sep 13, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 13, 2023
…ythonGH-109352) (cherry picked from commit 79101ed) Co-authored-by: Jelle Zijlstra <[email protected]>
JelleZijlstra
added a commit
that referenced
this issue
Sep 13, 2023
…GH-109352) (#109380) gh-109351: Fix crash when compiling AST with invalid NamedExpr (GH-109352) (cherry picked from commit 79101ed) Co-authored-by: Jelle Zijlstra <[email protected]>
Yhg1s
pushed a commit
that referenced
this issue
Oct 2, 2023
…GH-109352) (#109379) gh-109351: Fix crash when compiling AST with invalid NamedExpr (GH-109352) (cherry picked from commit 79101ed) Co-authored-by: Jelle Zijlstra <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running this file:
Causes:
This is on a debug build; on a release build presumably it will segfault or trigger UB somewhere.
I'll have a fix soon.
On 3.11 the reproducer instead fails with
TypeError: '<' not supported between instances of 'int' and 'str'
for me. Not sure what's up with that; the code that should trigger the crash is the same on 3.11 and main.Linked PRs
The text was updated successfully, but these errors were encountered: