[issue34637] Make *start* usable as a keyword argument for sum().

Gregory P. Smith report at bugs.python.org
Tue Sep 11 20:11:03 EDT 2018


Gregory P. Smith <greg at krypto.org> added the comment:

I suggest also allowing the first argument to be a keyword named sequence= as well.  (along the philosophy of positional only arguments on APIs that happen to be implemented in C in CPython are a bad legacy)

pypy already uses these names:
 https://bitbucket.org/pypy/pypy/src/4cbeaa8bf545332c36ae277019772aa432693e4c/pypy/module/__builtin__/app_functional.py?at=default&fileviewer=file-view-default#app_functional.py-41

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34637>
_______________________________________


More information about the Python-bugs-list mailing list