-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-124385: Document and soft-deprecate PyLong_AS_LONG #124386
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
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.
Please add a deprecated
or deprecated-removed
directive. It needs also a NEWS entry and a What's New entry.
The function itself is not new, and it was always discouraged. |
The deprecation is new. |
Yeah, but it's a soft deprecation. Nothing depends on when we officially said you shouldn't use it. |
I don't think that this change should be backported. Or if you want to backport it, it should be without the soft deprecation. |
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.
LGTM
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, @encukou, I could not cleanly backport this to
|
GH-124719 is a backport of this pull request to the 3.13 branch. |
…ythonGH-124386) (cherry picked from commit 425587a) Co-authored-by: Petr Viktorin <encukou@gmail.com>
GH-130549 is a backport of this pull request to the 3.12 branch. |
📚 Documentation preview 📚: https://cpython-previews--124386.org.readthedocs.build/