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

Adopt Py3.8+ features: Names for asyncio tasks #3733

Assignees
harshil21
Labels
@Bibo-Joshi

Description

@Bibo-Joshi

Python 3.8 adds aname argument to the functionasyncio.create_task. This allows to give all tasks an interpretable name, which can help with debugging and also provides more transparency for users.
We should

  • revisit our code base to check all uses ofasyncio.create_task and provide meaningful names
  • if possible, also extend the unit tests to assert that the name is set on the tasks. I'm not entirely sure if that's possible

A PR in this direction is very welcome. As long as#3728 is open, it should be based on thedrop-py-37 branch. If you would like to send a PR, please be sure to read ourcontribution guide and leave a short comment so that we can assign you.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp