Yann Kaiser wrote:
The way I see it, the great thing about async/await as opposed to threading is that it is explicit about when execution will "take a break" from your function or resume into it.
Another thing is that async/await tasks are very lightweight compared to OS threads, so you can afford to have a large number of them active at once. Rene's approach seems to be based on ordinary threads, so it would not have this property. -- Greg _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/