[Python-Dev] RE: [Python-checkins] python/dist/src/Modules arraymodule.c,2.70,2.71
Tim Peters
tim.one@comcast.net
Thu, 02 May 2002 16:23:23 -0400
> Update of /cvsroot/python/python/dist/src/Modules
> In directory usw-pr-cvs1:/tmp/cvs-serv16518
>
> Modified Files:
> arraymodule.c
> Log Message:
> Patch #551009: Initialize array type dynamically.
I like these a lot better if a do-nothing macro is plugged into the "0"
slots, like
#define DELAYED(X)
DELAYED(PyObject_Del), /* tp_free */
instead of
0, /* tp_free */
It's confusing and error-prone to need to search all over the source code to
find out what's really in a type object.