Author serhiy.storchaka
Recipients rhettinger, scoder, serhiy.storchaka, skrah, vstinner
Date 2017-06-05.09:12:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2017-06-05 09:12:16serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, scoder, vstinner, skrah
2017-06-05 09:12:16serhiy.storchakasetmessageid: <>
2017-06-05 09:12:16serhiy.storchakalinkissue29464 messages
2017-06-05 09:12:16serhiy.storchakacreate