Skip to content

PidfdChildWatcher removed without deprecation #130915

Closed as not planned
Closed as not planned
@allisonkarlitskaya

Description

@allisonkarlitskaya

Bug report

Bug description:

hi

We got a bug report that our software isn't working with Python 3.14 prereleases: https://bugzilla.redhat.com/show_bug.cgi?id=2350287

That's caused by this issue removing a publicly documented API which (as per the current official documentation) was not deprecated or slated for removal:

#120893

https://docs.python.org/3/library/asyncio-policy.html#asyncio.PidfdChildWatcher

I kinda get the intent that the entire abstract child watcher approach was intended to be deprecated, but that's not how it was advertised in the official docs. We went out of our way to try to use the new API if available and fall back to the old deprecated API only if the new one wasn't available. Having both pulled out in the same release has just broken our code.

Please add this back.

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesstdlibPython modules in the Lib dirtopic-asynciotype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions