should these be fixed for python 2.4?

"Martin v. Löwis" martin at v.loewis.de
Fri Oct 1 13:21:54 EDT 2004


Alexander Schmolck wrote:
> 1. ``os.system`` (and co): Shouldn't ``os.system``'s signature really be
>    ``os.system(cmd, arg1, arg2,...)`` rather than ``os.system(some_string)``?

No. This is a direct exposition of the system(3) function of the C
library, and has precisely the same interface like this function.
Use os.spawnv for what you want.

> 2. pydoc's handling of overriden methods without docstrings: I really think it
>    should show the documentation of the method in the baseclass; the current
>    behavior really sucks when working with things like backends.

Feel free to contribute a patch.

> I currently use this to run e.g. latex, but it doesn't seem to work absolutely
> reliably and is unix only. I'm pretty sure there must be a better way.

I don't think there is.

Regards,
Martin



More information about the Python-list mailing list