-
-
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-121027: Add a future warning in functools.partial.__get__ #121086
gh-121027: Add a future warning in functools.partial.__get__ #121086
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really that happy about getting this into 3.13 at this stage, but whatever, it's only a FutureWarning on something that's a bad idea anyway (by which I mean using functools.partial in the first place, as well as using it as a class attribute.)
Co-authored-by: T. Wouters <thomas@python.org>
Thanks @serhiy-storchaka for the PR, and @Yhg1s for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…ythonGH-121086) (cherry picked from commit db96edd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-121092 is a backport of this pull request to the 3.13 branch. |
📚 Documentation preview 📚: https://cpython-previews--121086.org.readthedocs.build/