Message285578
| 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:46 | yselivanov | set | recipients:
+ yselivanov, vstinner, larry, methane, serhiy.storchaka |
| 2017年01月16日 17:54:46 | yselivanov | set | messageid: <1484589286.52.0.24902541007.issue29286@psf.upfronthosting.co.za> |
| 2017年01月16日 17:54:46 | yselivanov | link | issue29286 messages |
| 2017年01月16日 17:54:46 | yselivanov | create |
|