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 rhettinger
Recipients josh.r, martin.panter, python-dev, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-04-24.19:35:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461526529.41.0.944451025342.issue26822@psf.upfronthosting.co.za>
In-reply-to
Content
In general there should be an early out test for keywords==NULL before calling the comparatively high overhead function _PyArg_NoKeywords.  

That function adds overhead everywhere it is used and provides zero benefit to correct programs in order to provide earlier detection of a very rare class of errors.

Some care needs to be taken before slapping _PyArg_NoKeywords onto every function in the core that doesn't use keyword arguments.
History
Date User Action Args
2016-04-24 19:35:29rhettingersetrecipients: + rhettinger, python-dev, martin.panter, serhiy.storchaka, josh.r, xiang.zhang
2016-04-24 19:35:29rhettingersetmessageid: <1461526529.41.0.944451025342.issue26822@psf.upfronthosting.co.za>
2016-04-24 19:35:29rhettingerlinkissue26822 messages
2016-04-24 19:35:29rhettingercreate