Author neologix
Recipients neologix
Date 2013-05-06.13:10:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367845837.62.0.789153792923.issue17917@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-05-06 13:10:37neologixsetrecipients: + neologix
2013-05-06 13:10:37neologixsetmessageid: <1367845837.62.0.789153792923.issue17917@psf.upfronthosting.co.za>
2013-05-06 13:10:37neologixlinkissue17917 messages
2013-05-06 13:10:37neologixcreate