Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-141004: Document PyLong_FromPid and PyLong_AsPid#141028
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
ZeroIntensity commented Nov 4, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
encukou commented Nov 4, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Perhaps deprecate this in favour of |
ZeroIntensity commented Nov 4, 2025
No objection from me, but we should still document things like this for completeness (even if it's just to say "use this other thing instead"). Would you mind adding things to (soft) deprecate on the list I created at capi-workgroup/decisions#86? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
vstinner left a comment
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.
If they become (soft) deprecated, it can be done in a separated PR.
ZeroIntensity commented Nov 6, 2025
Yeah, and the deprecation won't be backported either. Thanks for the review! |
bcc524f into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…GH-141028) (cherry picked from commit bcc524f) Co-authored-by: Peter Bierma <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
GH-141142 is a backport of this pull request to the 3.14 branch. |
Sorry, @ZeroIntensity, I could not cleanly backport this to |
GH-141143 is a backport of this pull request to the 3.13 branch. |
…GH-141028) Co-authored-by: Victor Stinner <[email protected]> (cherry picked from commit bcc524f)
…ythonGH-141028) (cherry picked from commit bcc524f) Co-authored-by: Peter Bierma <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…1028) (GH-141142) gh-141004: Document `PyLong_FromPid` and `PyLong_AsPid` (GH-141028) (cherry picked from commit bcc524f) Co-authored-by: Peter Bierma <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…GH-141028) Co-authored-by: Victor Stinner <[email protected]>
…GH-141028) Co-authored-by: Victor Stinner <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--141028.org.readthedocs.build/en/141028/c-api/long.html#c.PyLong_FromPid, https://cpython-previews--141028.org.readthedocs.build/en/141028/c-api/long.html#c.PyLong_AsPid