5 ms·
The async keyword takes over from the asyncio standard library module; the relevant PEP for the former is https://peps.python.org/pep-0492/ https://peps.python.
by zahlman 2y ago
The async keyword takes over from the asyncio standard library module; the relevant PEP for the former is https://peps.python.org/pep-0492/ https://peps.python.org/pep-0492/ and for the latter is https://peps.python.org/pep-3156/ https://peps.python.org/pep-3156/. That might give some hints.
- throwaway313373 2y agoUnfortunately, 3156 doesn't really have an explanation why did Guido chose this particular implementation. It just says "yeah, that's what we gonna do". And 492 was written when tulip/asyncio was already chosen and included into stdlib.