Repository navigation
gh-124385: Document and soft-deprecate PyLong_AS_LONG - #124386
Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
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. |
|
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/