Skip to content

Add os.pidfd_getfd(pidfd, targetfd, flags=0) function #149464

Closed

Description

@maurycy

Feature or enhancement

Proposal:

os.pidfd_open and signal.pidfd_send_signal are here; os.pidfd_getfd is missing.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

https://discuss.python.org/t/pidfd-getfd-syscall/107203/

https://discuss.python.org/t/add-pidfd-getfd-syscall-to-os-module/19789

Linked PRs

Activity

  1. changed the title [-]`os.pidfd_getfd(pidfd, targetfd, flags=0)`[/-] [+]Add `os.pidfd_getfd(pidfd, targetfd, flags=0)` syscall[/+] on May 6, 2026
  2. added a commit that references this issue on May 18, 2026
  3. changed the title [-]Add `os.pidfd_getfd(pidfd, targetfd, flags=0)` syscall[/-] [+]Add `os.pidfd_getfd(pidfd, targetfd, flags=0)` function[/+] on May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions