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

Add a section about async generators inasyncio docs #100108

Closed
Assignees
sergey-miryanov
Labels
@kumaraditya303

Description

@kumaraditya303

Currently async generators have little documentation, we should add abest practices section for this in the docs to avoid common pitfalls.
Some of the things to be documented off top of my head:

  • Recommend to manually close the generator instead of relying on the gc. (Most important)
  • Avoid iterating and closing the same generator concurrently.
  • Only create a generator when a loop isalready running.

If anyone from the docs group is interested, that would be much appreciated.

Linked PRs

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp