A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021726.html below:

[Python-Dev] Use of PyArg_NoArgs()

[Python-Dev] Use of PyArg_NoArgs() [Python-Dev] Use of PyArg_NoArgs()Martin v. Loewis martin@v.loewis.de
25 Mar 2002 19:11:46 +0100
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