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 methane
Recipients jdemeyer, methane, vstinner
Date 2019-07-03.09:31:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562146267.45.0.772738721849.issue37483@roundup.psfhosted.org>
In-reply-to
Content
AFAIK, gcc, clang, and MSVC support it.

Another cons is, general pitfall of macro:

  _PyObject_CALL_WITH_ARGS(func, PyDict_GetItem(d, key)); // PyDict_GetItem(d, key) is called twice.

If two or more arguments are not common, I prefer _PyObject_CallOneArg to macro.
History
Date User Action Args
2019-07-03 09:31:07methanesetrecipients: + methane, vstinner, jdemeyer
2019-07-03 09:31:07methanesetmessageid: <1562146267.45.0.772738721849.issue37483@roundup.psfhosted.org>
2019-07-03 09:31:07methanelinkissue37483 messages
2019-07-03 09:31:07methanecreate