[issue7373] Use PyModule_AddIntMacro() in Modules/gcmodule.c

Jon Parise report at bugs.python.org
Sun Nov 22 02:18:58 CET 2009


Jon Parise <jon at indelible.org> added the comment:

That's true.  I thought it worked the same as the ADD_INT() macro I
replaced, but I see that I was wrong.

Given that, perhaps the original code is best.  I don't see a lot of
value in replacing PyModule_AddIntConstant() with PyModule_AddIntMacro()
within ADD_INT().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7373>
_______________________________________


More information about the Python-bugs-list mailing list