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 ztane
Recipients cdarke, jesse.p.ogle, ysj.ray, ztane
Date 2015-04-19.12:59:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429448341.15.0.642432544829.issue11587@psf.upfronthosting.co.za>
In-reply-to
Content
This is *still* there in Hg tip: PyCFunction_Call in Objects/methodobject.c does not have a case for `METH_KEYWORDS` only at all.

The documentation for METH_KEYWORDS says that it is *typically* coupled with METH_VARARGS; however not having the case means that METH_KEYWORDS *cannot* be used without METH_VARARGS at all.

Furthermore, the default case should actually report the wrong flags value instead of calling it the "METH_OLDARGS", since it can be caused by any future combination, by setting it to zero, or undefined behaviour causing the flag to be overwritten.
History
Date User Action Args
2015-04-19 12:59:01ztanesetrecipients: + ztane, ysj.ray, cdarke, jesse.p.ogle
2015-04-19 12:59:01ztanesetmessageid: <1429448341.15.0.642432544829.issue11587@psf.upfronthosting.co.za>
2015-04-19 12:59:01ztanelinkissue11587 messages
2015-04-19 12:59:01ztanecreate