Ricky Teachey writes:

 > A nice thing about the mode switch syntax could be that it makes
 > [the convert prototype to call] routine faster (assuming there are
 > no type hints!!!):
 > 
 > f(*, a, b, c, g)

The trailing equals is faster (as long as you have defaults as in your
example), because you don't have to type the "*," part.

I don't think it's worth the loss of call flexibility (although a lot
of that is because I use keyboard macros a lot, and this is eminently
macro-able, or even a simple editor extension).

Steve
_______________________________________________
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/JQGBA2NU7QTCJ5V6RRCXDMVSDER3MJSC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to