Skip to content
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

Merged
merged 3 commits into from
Jul 18, 2022

Conversation

hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented Jul 18, 2022

@pablogsal pablogsal merged commit 0daba82 into python:main Jul 18, 2022
@miss-islington
Copy link
Contributor

Thanks @hauntsaninja for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 18, 2022
…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]>
@miss-islington
Copy link
Contributor

Sorry, @hauntsaninja and @pablogsal, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 0daba822212cd5d6c63384a27f390f0945330c2b 3.10

@bedevere-bot
Copy link

GH-94988 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 18, 2022
@pablogsal
Copy link
Member

Sorry, @hauntsaninja and @pablogsal, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 0daba822212cd5d6c63384a27f390f0945330c2b 3.10

@hauntsaninja Same thing as the other: can you do the manual backport?

miss-islington added a commit that referenced this pull request Jul 18, 2022
…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]>
@hauntsaninja hauntsaninja deleted the gh-94949 branch July 18, 2022 23:23
hauntsaninja added a commit to hauntsaninja/cpython that referenced this pull request Jul 19, 2022
…d feature_version (pythonGH-94950)

(cherry picked from commit 0daba82)

Co-authored-by: Shantanu <[email protected]>
@bedevere-bot
Copy link

GH-94990 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jul 19, 2022
@hauntsaninja
Copy link
Contributor Author

@pablogsal Done!

pablogsal pushed a commit that referenced this pull request Jul 19, 2022
…ure_version (GH-94950) (#94990)

(cherry picked from commit 0daba82)

Co-authored-by: Shantanu <[email protected]>
AlexWaygood added a commit to AlexWaygood/cpython that referenced this pull request Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants