Re: Why does only sgi have DO_PG in posixmodule.c

Guido.van.Rossum@cwi.nl
Fri, 30 Jul 1993 20:34:57 +0200

> | There is some output to stderr, but only if the interpreter gets
> | seriously confused. Stack traces go to whatever sys.stderr points to.
>
> What about stderr output from posix.system() or posix.popen()?

Good question. Note that you can now use os.dup(), os.open(),
os.close() etc. to manipulate file descriptors, so in principle it is
possible, but I agree that fd's 0, 1, 2 should inherit from
sys.stdin/out/err.

(I'm afraid this addition never made the NEWS file... Check the
ChangeLog file however; it's also in the library manual!)

Next release, hopefully!

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>