Skip to content

Document that asyncio doesn't support generator-based coroutines #157786

Description

@deadlovelll

Documentation

asyncio dropped generator-based coroutines in 3.12, but the docs never say so

Proposed fix: state this in the Awaitables section, note the TypeError on create_task(), and add the missing versionchanged:: 3.12 to iscoroutine()

have a fix for that

Linked PRs

Activity

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

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions