20.10.20 12:54, J. Pic пише:
> At the same time, Guido says he can remove that cost for no extra
> cost, so there's that: how do we find a good reason to not remove a
> cost for free ? Sounds like a win/win situation, both for most users
> and for the new pegparser.

It may have closer to zero cost of the initial implementation, but the
cost of maintaining, supporting in different standard and third-party
modules, teaching and learning, and using is far from zero.

Just look how many special cases Python 2 print has: print without
arguments, printing a tuple, print >>, print with trailing comma. And
the latter feature ("soft" space) is not supported by files in Python 3,
so you would need to change them too, and all file-like objects in the
world.

Getting rid of the print statement was one of the largest achievements
of Python 3 (after all-unicode).
_______________________________________________
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/2X2VRTTVCMPVPHKFGS66LVUNRXPOULYF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to