Skip to content

Clarify select.kqueue and select.kevent also available on macOS #143293

Duplicate

Description

@aisk

The document says kqueue() and kevent() are only supported on BSD, but macOS also fully supports them:

(Only supported on BSD.) Returns a kernel queue object; see section

(Only supported on BSD.) Returns a kernel event object; see section

While macOS uses a userland from BSD (FreeBSD in these days I guess?), our documentation consistently treats macOS as a distinct platform from BSD, for example:

.. availability:: BSD, macOS.

Linked PRs

Activity

  1. added
    docs
    stdlib
    on Dec 30, 2025
  2. added
    extension-modules
    and removed
    stdlib
    on Dec 30, 2025
  3. removed
    extension-modules
    on Dec 30, 2025
  4. maurycy commented on Dec 2, 2026

    @maurycy
    Contributor

    @StanFromIreland @aisk Looks like #149764 already fixed this. The docs for both kqueue() and kevent() now list macOS alongside BSD, including in 3.13 and 3.14. I think we can close this issue and #143294.

    https://docs.python.org/3/library/select.html#select.kqueue
    https://docs.python.org/3/library/select.html#select.kevent

  5. StanFromIreland commented on Dec 3, 2026

    @StanFromIreland
    Member

    Closed, thanks!

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

    OS-macdocs

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions