[Python-Dev] async/await in Python; v2 (original) (raw)

Łukasz Langa lukasz at langa.pl
Fri Apr 24 21:04:27 CEST 2015


On Apr 24, 2015, at 6:32 AM, Barry Warsaw <barry at python.org> wrote:

On Apr 24, 2015, at 11:17 PM, Steven D'Aprano wrote:

It seems to me that tools that search for r"^\sdef\s+spam\s(" are They would likely search for something like r"^\s*def\s+[a-zA-Z0-9]+" which will hit "def async spam" but not "async def”.

Realistically that can’t be what they’re doing because of multiple string literals, internal-scope functions, etc. But I agree with Steven that guessing here is pointless. More importantly, consider:

So all in all, I don’t buy this argument.

-- Best regards, Łukasz Langa

WWW: http://lukasz.langa.pl/ Twitter: @llanga IRC: ambv on #python-dev



More information about the Python-Dev mailing list