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 josh.r, martin.panter, python-dev, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-04-24.21:35:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461533716.01.0.255106798455.issue26822@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that adds fast checks before calling _PyArg_NoKeywords().

Other option is redefine _PyArg_NoKeywords as a macro:

#define _PyArg_NoKeywords(name, kw)  ((kw) != NULL && _PyArg_NoKeywords((name), (kw)))

This will affect all usages of _PyArg_NoKeywords.
History
Date User Action Args
2016-04-24 21:35:16serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, python-dev, martin.panter, josh.r, xiang.zhang
2016-04-24 21:35:16serhiy.storchakasetmessageid: <1461533716.01.0.255106798455.issue26822@psf.upfronthosting.co.za>
2016-04-24 21:35:15serhiy.storchakalinkissue26822 messages
2016-04-24 21:35:15serhiy.storchakacreate