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 neologix
Recipients neologix
Date 2013-05-06.13:10:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In many cases, PyModule_AddIntMacro() could be used instead of PyModule_AddIntConstant(), e.g. in socketmodule.c and posixmodule.c:

PyModule_AddIntMacro(m, AF_INET6);

vs (currently)

PyModule_AddIntConstant(m, "AF_INET6", AF_INET6);

It reduces the possibility of typo and is less verbose.
Date User Action Args
2013-05-06 13:10:37neologixsetrecipients: + neologix
2013-05-06 13:10:37neologixsetmessageid: <>
2013-05-06 13:10:37neologixlinkissue17917 messages
2013-05-06 13:10:37neologixcreate