Message154522
| Author |
rhettinger |
| Recipients |
Arfrever, brian.curtin, eric.snow, ezio.melotti, gregory.p.smith, gruszczy, meatballhat, rhettinger |
| Date |
2012年02月28日.02:03:42 |
| SpamBayes Score |
9.333617e-05 |
| Marked as misclassified |
No |
| Message-id |
<1330394624.73.0.56706809807.issue8706@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
For many builtins, this would be a total waste, slowing down the calls, and supplying keyword names that would be meaningless or just weird. For example, chr(i=65) is just a waste.
Keyword args should only be added where they would add clarity to something that would otherwise be ambiguous.
FWIW, that is the reason that sorted() required a keyword argument. It prevents confusion between key-functions and cmp-functions. |
|