A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-April/139512.html below:

[Python-Dev] async/await in Python; v2

[Python-Dev] async/await in Python; v2Paul Sokolovsky pmiscml at gmail.com
Fri Apr 24 21:11:56 CEST 2015
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4