3 ms·
And this is why trio got it right, and why I think the task groups (nurseries from trio) can't arrive soon enough in the stdlib. Because not only you must main
by BiteCode_dev 4y ago
And this is why trio got it right, and why I think the task groups (nurseries from trio) can't arrive soon enough in the stdlib.
Because not only you must maintain a reference to any task, but you should also explicitly await it somewhere, using something like asyncio.wait() or asyncio.gather().
Most people don't know this, and it makes asyncio very difficult to use for them.
- postultimate 4y ago> task groups (nurseries from trio) can't arrive soon enough in the stdlib Please, no. Asyncio is horrible, and bodging it to make it less horrible just means we will be forced to live with the remaining horror. Far better to replace it with something that works properly (yes, Trio).