-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version #94950
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
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 <12621235+hauntsaninja@users.noreply.github.com>
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 <12621235+hauntsaninja@users.noreply.github.com>
…d feature_version (pythonGH-94950) (cherry picked from commit 0daba82) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
GH-94990 is a backport of this pull request to the 3.10 branch. |
@pablogsal Done! |
…ld feature_version (python#94950)" This reverts commit 0daba82.