1 Jul 2015 1 Jul '15
Sven R. Kunze wrote:
I like the 'await' syntax to mark suspension points. But the 'async' coloring makes no sense to me. It is an implementation details of asyncio (IMHO).
Functions containing an "await" are going to be coloured in any case -- that's unavoidable, given that await is built on the iterator protocol. The only question is whether to have an explicit marker for it.