Skip to content

Reference to non-existent asyncio.events.EventLoop in asyncio.selector_events source #150345

Description

@jonathandung

Documentation

The docstring at the top level of the asyncio.selector_events.BaseSelectorEventLoop class body here asks readers to

See events.EventLoop for API specification.

However, the asyncio.EventLoop symbol, added in Python 3.13, is exported only from one of asyncio.windows_events and asyncio.unix_events depending on the platform; it is by no means available as an attribute on asyncio.events. events.AbstractEventLoop was possibly meant, since asyncio.EventLoop doesn't even declare the public interface; it aliases the concrete implementation chosen.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    Done
    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions