Skip to content

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

@jonathandung

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions