Neal Norwitz <neal@metaslash.com> writes: > Should the use of PyArg_NoArgs() be deprecated? > > 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. > Is this correct? If so, I can make a patch. I would prefer if you could simultaneously remove occurences of METH_OLDARGS (introducing METH_O where possible), so that modules get cleaned-up entirely, rather than just replacing the easy parts :-) The reason why such changes haven't been applied to all modules is that some of the modules are old in themselves, and I would have no way to verify that the module is working properly after the changes. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4