This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <1496653936.94.0.259333340482.issue29464@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-06-05 09:12:16serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, scoder, vstinner, skrah
2017-06-05 09:12:16serhiy.storchakasetmessageid: <1496653936.94.0.259333340482.issue29464@psf.upfronthosting.co.za>
2017-06-05 09:12:16serhiy.storchakalinkissue29464 messages
2017-06-05 09:12:16serhiy.storchakacreate