-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
gh-94947: Disallow parsing walrus with feature_version < (3, 8) #94948
Conversation
hauntsaninja
commented
Jul 18, 2022
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: ast.parse allows assignment expressions with old feature_version #94947
Thanks @hauntsaninja for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
…pythonGH-94948) * pythongh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit ae0be5a) Co-authored-by: Shantanu <[email protected]>
Sorry, @hauntsaninja and @pablogsal, I could not cleanly backport this to |
GH-94953 is a backport of this pull request to the 3.11 branch. |
@hauntsaninja Could you do the 3.10 manual backport? |
…4948) * gh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit ae0be5a) Co-authored-by: Shantanu <[email protected]>
… (3, 8) (pythonGH-94948) * pythongh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>. (cherry picked from commit ae0be5a) Co-authored-by: Shantanu <[email protected]>
GH-94969 is a backport of this pull request to the 3.10 branch. |
@pablogsal Done! |
GH-94948) (#94969) * gh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>. (cherry picked from commit ae0be5a) Co-authored-by: Shantanu <[email protected]>
As a result of python/cpython#94948 we started to fail these tests on Python 3.11b5
As a result of python/cpython#94948 we started to fail these tests on Python 3.11b5