Yury Selivanov added the comment:
> * Allow passing arguments as keywoards: str.replace(old='a', new='b')
I think Guido explicitly stated that he doesn't like the idea to always allow
keyword arguments for all methods. I.e. `str.find('aaa')` just reads better
than `str.find(needle='aaa')`. Essentially, the idea is that for most of the
builtins that accept one or two arguments, positional-only parameters are
better.
> * Enhance Argument Clinic to use also METH_FASTCALL for functions using
> positional-only functions
So this is the option to go with.
----------
nosy: +yselivanov
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29286>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com