Skip to content

Deprecate asyncio.iscoroutinefunction #122858

Closed
@kumaraditya303

Description

@kumaraditya303

asyncio.iscoroutinefunction should be deprecated in favor of inspect.iscoroutinefunction, we don't need two different functions to do the same thing. I propose to deprecate asyncio.iscoroutinefunction because IMO these introspection functions don't belong to asyncio but more to inspect module. It will be deprecated in Python 3.14 and scheduled for removal in Python 3.16.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions