On Tue, Feb 23, 2021 at 6:13 PM Richard Damon <rich...@damon-family.org>
wrote:

>
> Also note, that I am not saying that 'arrow-functions' can't happen,
> just that if they are created, a natural consequence is that, like with
> .format(), the 'old' (lambda) way will need to be marked as 'old', and
> not the current obvious way.
>

If there is a consensus that arrows are better enough that lambdas, and
arrows happen, lambdas will be considered 'old' and automated converters
such as pyupgrade will be quick to replace lambdas (and people publishing
libraries will have to wait until the EOL of the older versions of Python
before being able to run it).

And if, otherwise, there is no such consensus, the change will never happen.

Same as u"xxx" versus Unicode("xxx"), x**y vs pow(x, y), x @ y
vs. matmul(x, y), etc.

  S.

-- 
Stefane Fermigier - http://fermigier.com/ - http://twitter.com/sfermigier -
http://linkedin.com/in/sfermigier
Founder & CEO, Abilian - Enterprise Social Software -
http://www.abilian.com/
Chairman, National Council for Free & Open Source Software (CNLL) -
http://cnll.fr/
Founder & Organiser, PyParis & PyData Paris - http://pyparis.org/ &
http://pydata.fr/
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/R5ISVYTEW5UAFHJ6RZ4SZCGE6LQYM2QB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to