| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Perhaps deprecate this in favour of PyLong_AsNativeBytes with sizeof(pid_t)? (Platforms like Windows don't have pid_t, but to use this function you need to know the type for your platform anyway.) |
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>
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.
|
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>
|
GH-141142 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
Sorry, @ZeroIntensity, I could not cleanly backport this to 3.13 due to a conflict. cherry_picker bcc524f82d8548707046ce90f5bc56f60018767a 3.13 |
Sorry, something went wrong.
|
GH-141143 is a backport of this pull request to the 3.13 branch. |
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>
| Back | FazBrowse Home | New Git URL |
📚 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