gh-141004: Document PyLong_FromPid and PyLong_AsPid#141028
Conversation
|
Perhaps deprecate this in favour of |
Sorry, something went wrong.
|
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? |
Sorry, something went wrong.
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
If they become (soft) deprecated, it can be done in a separated PR.
Sorry, something went wrong.
|
Yeah, and the deprecation won't be backported either. Thanks for the review! |
Sorry, something went wrong.
bcc524f
into
python:main
Nov 6, 2025
|
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
…GH-141028) (cherry picked from commit bcc524f) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
|
Sorry, @ZeroIntensity, I could not cleanly backport this to |
Sorry, something went wrong.
…GH-141028) Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit bcc524f)
…ythonGH-141028) (cherry picked from commit bcc524f) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
…GH-141028) Co-authored-by: Victor Stinner <vstinner@python.org>
…GH-141028) Co-authored-by: Victor Stinner <vstinner@python.org>
📚 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