Hello, On Fri, 24 Apr 2015 12:04:27 -0700 Łukasz Langa <luk...@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:pmis...@gmail.com _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com