- Notifications
You must be signed in to change notification settings - Fork5.9k
Description
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 of
asyncio.create_taskand 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.