Serhiy Storchaka added the comment:

Actually these arguments are pretty weak. The sole argument of consistency is 
weak itself. _PyArg_NoStackKeywords() is pretty cheap since implementing it as 
a macro. This change just moves the check from the implementation of functions 
to the calling place. Virtually all affected functions (320 vs 7) are generated 
by Argument Clinic, so this doesn't simplify the maintenance much. The only 
runtime effect is possible saving a register or few bytes on the stack and few 
CPU tacts for passing the kwnames argument (always NULL). But this depends on 
the compiler.

I don't consider this API frozen still. I have other idea for passing keyword 
arguments and want to experiment with it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29464>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to