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

asyncio.__init__ does not includeasyncio.taskgroups in its__all__ #106075

Closed
Labels
@jamestwebber

Description

@jamestwebber

I'm not sure if I should file this as a bug or a feature...I just noticed it ina discussion, and thought I'd raise the issue. It's possible this is intended behavior.

asyncio.__init__ imports everything from all of its submodules and puts almost everything into__all__, I assume so people canfrom asyncio import *. It looks likeasyncio.taskgroups was omitted from this, I am guessing by accident (the lists are not in the same order).

I guess people usually don't use that pattern, or not enough have done so and found the last ofTaskGroup annoying, so it went under the radar. But very easy to fix, happy to open a PR if desired.

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