Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove legacy code for generator based coroutines inasyncio #102748

Closed
Labels
@kumaraditya303

Description

@kumaraditya303

Generator based coroutines were long deprecated and removed andasyncio doesn't not supports it. There is some left over code for supporting it which can be removed now.

The first thing is this behavior ofasyncio.iscoroutine which makes no sense now. I propose to remove this first.

importasynciodefgen():yield1assertnotasyncio.iscoroutine(gen())# fails

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp