Skip to content

gh-96641: Do not expose KeyWrapper in _functoolsmodule.c#96642

Merged
corona10 merged 1 commit into
python:mainfrom
sobolevn:issue-96641
Sep 7, 2022
Merged

gh-96641: Do not expose KeyWrapper in _functoolsmodule.c#96642
corona10 merged 1 commit into
python:mainfrom
sobolevn:issue-96641

Conversation

@sobolevn

@sobolevn sobolevn commented Sep 7, 2022

Copy link
Copy Markdown
Member

After:

Python 3.12.0a0 (heads/main-dirty:0d04b8d9e1, Sep  7 2022, 13:35:21) [Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from _functools import KeyWrapper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'KeyWrapper' from '_functools' (unknown location)
>>> 

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
This should not be exposed.

@corona10 corona10 added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes and removed awaiting merge labels Sep 7, 2022
@corona10
corona10 merged commit 2fd7246 into python:main Sep 7, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

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

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Sep 7, 2022
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 7, 2022
…ythongh-96642)

(cherry picked from commit 2fd7246)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Sep 7, 2022
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 7, 2022
…ythongh-96642)

(cherry picked from commit 2fd7246)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@sobolevn

sobolevn commented Sep 7, 2022

Copy link
Copy Markdown
Member Author

Thank you!

miss-islington added a commit that referenced this pull request Sep 7, 2022
(cherry picked from commit 2fd7246)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
miss-islington added a commit that referenced this pull request Sep 7, 2022
(cherry picked from commit 2fd7246)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
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