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/2001-May/015084.html below:

[Python-Dev] file.writelines("foo\n","bar\n")

[Python-Dev] file.writelines("foo\n","bar\n")Michael Hudson mwh@python.net
Tue, 29 May 2001 09:00:42 +0100 (BST)
On Tue, 29 May 2001, Tim Peters wrote:

> [Martin]
> > I took a special look at METH_OLDARGS occurrences.
>
> [GregE]
> > Shouldn't all these be removed? I would have thought
> > list.append was the last one!
>
> I count 42 of them remaining, usually for 0-argument functions.

There are more than that; PyMethodDefs that don't put anything in that
slot in the source are METH_OLDARGS too, and there are quite a few of them
in Modules/ (there are *lots* in _cursesmodule.c, but also in many of the
older modules - gl, rotor were easy to find).  There are also quite a lot
of functions that put literal zeros there, too.

So METH_OLDARGS is far from dead, sadly.

Cheers,
M.




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