[Python-Dev] Use of PyArg_NoArgs()

Martin v. Loewis martin@v.loewis.de
25 Mar 2002 23:26:23 +0100


Guido van Rossum <guido@python.org> writes:

> > Python/sysmodule.c:     {"exit",     METH_OLDARGS, 
> 
> This one *appears* tricky.  But in fact, changing it to METH_VARARGS
> should work just as well (I think).

I agree, but a comment that args will be always a tuple seems appropriate.

> > nis should be testable by someone.
> 
> Or deprecated.  I've never met somebody who used it.

You met me :-) I found a need to parse auto.home on Linux, once.

Regards,
Martin