2 ms·
Glad to see they ported Anyio's TaskGroups (or was it from trio?) to the stdlib. Starting tasks so they run concurrently was a huge pain in vanilla Python.
by TeeMassive 4y ago
Glad to see they ported Anyio's TaskGroups (or was it from trio?) to the stdlib. Starting tasks so they run concurrently was a huge pain in vanilla Python.
- tusharsadhwani 4y agoThe idea came from trio's nurseries I believe.
- erdewit 4y agoIs the TaskGroup really in the 3.11 release though? It's not to be found anywhere in the Python documentation or release notes: https://docs.python.org/3.11/whatsnew/3.11.html https://docs.python.org/3.11/whatsnew/3.11.html It has been talked about for a long time, probably 4 years now.
- Mehdi2277 4y agoIt's implemented in 3.11. Documentation still hasn't been written for it yet though and that's why the issue is still open, https://github.com/python/cpython/issues/90908 https://github.com/python/cpython/issues/90908.