
March 25, 2002
9:17 a.m.
Should the use of PyArg_NoArgs() be deprecated?
Sure, why not.
There are many uses (53) throughout Modules/*.c. It seems that this check is not useful anymore if the MethodDef is set to METH_NOARGS.
Yes, that's the recommended way.
Is this correct? If so, I can make a patch.
You can just check it in. --Guido van Rossum (home page: http://www.python.org/~guido/)