[Python-Dev] async/await in Python; v2 (original) (raw)
Paul Sokolovsky pmiscml at gmail.com
Fri Apr 24 21:11:56 CEST 2015
- Previous message (by thread): [Python-Dev] async/await in Python; v2
- Next message (by thread): [Python-Dev] async/await in Python; v2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
On Fri, 24 Apr 2015 12:04:27 -0700 Łukasz Langa <lukasz at langa.pl> wrote:
[]
> > 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: - if we optimize for some unproven backwards compatibility with tools, we’re sacrificing better readability of “async def foo()”
Yes, so hopefully another argument prevails: the sooner they break, the sooner they're fixed (no irony here, I really consider it strange to optimize language syntax based on background auxiliary utilities' features or misfeatures).
[]
-- Best regards, Paul mailto:pmiscml at gmail.com
- Previous message (by thread): [Python-Dev] async/await in Python; v2
- Next message (by thread): [Python-Dev] async/await in Python; v2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]