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-96641: Do not expose KeyWrapper in _functoolsmodule.c #96642

Merged
merged 1 commit into from Sep 7, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Sep 7, 2022

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)
>>> 

Copy link
Member

@corona10 corona10 left a comment

lgtm
This should not be exposed.

@corona10 corona10 merged commit 2fd7246 into python:main Sep 7, 2022
14 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Sep 7, 2022

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
Copy link

bedevere-bot commented Sep 7, 2022

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 issue Sep 7, 2022
…ythongh-96642)

(cherry picked from commit 2fd7246)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-bot
Copy link

bedevere-bot commented Sep 7, 2022

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 issue Sep 7, 2022
…ythongh-96642)

(cherry picked from commit 2fd7246)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@sobolevn
Copy link
Member Author

sobolevn commented Sep 7, 2022

Thank you!

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

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
miss-islington added a commit that referenced this issue 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.

None yet

4 participants