This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients larry, methane, serhiy.storchaka, vstinner, yselivanov
Date 2017-01-16.17:54:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484589286.52.0.24902541007.issue29286@psf.upfronthosting.co.za>
In-reply-to
Content
> * 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.
History
Date User Action Args
2017-01-16 17:54:46yselivanovsetrecipients: + yselivanov, vstinner, larry, methane, serhiy.storchaka
2017-01-16 17:54:46yselivanovsetmessageid: <1484589286.52.0.24902541007.issue29286@psf.upfronthosting.co.za>
2017-01-16 17:54:46yselivanovlinkissue29286 messages
2017-01-16 17:54:46yselivanovcreate