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 jdemeyer
Recipients jdemeyer, methane, vstinner
Date 2019-07-03.09:34:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562146451.04.0.719416554435.issue37483@roundup.psfhosted.org>
In-reply-to
Content
> _PyObject_CALL_WITH_ARGS(func, PyDict_GetItem(d, key)); // PyDict_GetItem(d, key) is called twice.

That's pretty bad and in my opinion a good reason to reject this idea.

> If two or more arguments are not common, I prefer _PyObject_CallOneArg to macro.

I posted some counts at https://mail.python.org/archives/list/capi-sig@python.org/message/3I76R27YMFSKB5JQIM3E4NA3BECVTZHP/
History
Date User Action Args
2019-07-03 09:34:11jdemeyersetrecipients: + jdemeyer, vstinner, methane
2019-07-03 09:34:11jdemeyersetmessageid: <1562146451.04.0.719416554435.issue37483@roundup.psfhosted.org>
2019-07-03 09:34:11jdemeyerlinkissue37483 messages
2019-07-03 09:34:10jdemeyercreate