-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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-94949: Disallow parsing parenthesised ctx mgr with old feature_version #94950
Conversation
hauntsaninja
commented
Jul 18, 2022
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: ast.parse allows parenthesised context managers with old feature_version #94949
Thanks @hauntsaninja for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
…re_version (pythonGH-94950) * pythongh-94949: Disallow parsing parenthesised ctx manager with old feature_version * 📜🤖 Added by blurb_it. * Allow it with feature_version=(3, 9) as well Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0daba82) Co-authored-by: Shantanu <[email protected]>
Sorry, @hauntsaninja and @pablogsal, I could not cleanly backport this to |
GH-94988 is a backport of this pull request to the 3.11 branch. |
@hauntsaninja Same thing as the other: can you do the manual backport? |
…sion (GH-94950) * gh-94949: Disallow parsing parenthesised ctx manager with old feature_version * 📜🤖 Added by blurb_it. * Allow it with feature_version=(3, 9) as well Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0daba82) Co-authored-by: Shantanu <[email protected]>
…d feature_version (pythonGH-94950) (cherry picked from commit 0daba82) Co-authored-by: Shantanu <[email protected]>
GH-94990 is a backport of this pull request to the 3.10 branch. |
@pablogsal Done! |
…ure_version (GH-94950) (#94990) (cherry picked from commit 0daba82) Co-authored-by: Shantanu <[email protected]>
…ld feature_version (python#94950)" This reverts commit 0daba82.