[issue26282] Add support for partial keyword arguments in extension functions

Martin Panter report at bugs.python.org
Wed Feb 3 21:22:28 EST 2016


Martin Panter added the comment:

For the examples you gave, they already seem to support keywords for the first parameter: int(x=0), str(object=""), bytes(source=b""). Maybe it is a bit unfortunate that they are inconsistent, but these names seem reasonable when considered separately.

But I agree that in those cases having the option of a keyword would rarely be useful. This proposal sounds like it could give a small benefit, and I guess it wouldn’t be costly to implement.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26282>
_______________________________________


More information about the Python-bugs-list mailing list