[3.12] gh-109351: Fix crash when compiling AST with invalid NamedExpr (GH-109352)#109379
Merged
Yhg1s merged 1 commit intopython:3.12from Oct 2, 2023
Merged
Conversation
…ythonGH-109352) (cherry picked from commit 79101ed) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This was referenced Sep 13, 2023
JelleZijlstra
approved these changes
Sep 13, 2023
Member
JelleZijlstra
left a comment
There was a problem hiding this comment.
cc @Yhg1s. This fixes a (somewhat contrived) issue with PEP 695, so it should likely go into the next RC.
Member
|
Sorry, this one does not fix an issue with PEP 695, that's the other backport I just triggered. This fixes a similar issue with the walrus expression. It's been around for a while, so based on your statement in https://discuss.python.org/t/adding-a-third-3-12-release-candidate/33605 this should probably wait until 3.12.1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(cherry picked from commit 79101ed)
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com