Skip to content

Shouldn't typing also have Coroutine? #251

@gvanrossum

Description

@gvanrossum

PEP 492 introduces a few new ABCs: Awaitable, Coroutine, AsyncIterable, AsyncIterator. PEP 484 lists three of these: Awaitable, AsyncIterable, AsyncIterator. What happened to Coroutine? A Coroutine is an Awaitable that also supports send(), throw() and close().

It seems a simple oversight. Let's fix it before 3.5.3 comes out.

@1st1 do you remember any of this? Do you recall a reason to leave out Coroutine?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions