[Python-Dev] sys.__stdout__

Guido van Rossum guido@python.org
Thu, 26 Oct 2000 06:38:34 -0500


>  > * Tools/idle/PyParse.py - disabled, debugging output function - presumably
>  > to get around sys.stdout redirection - but this sounds suspect as an idiom
>  > to me too!
> 
> I've left this one for someone with a good idea about what to do
> about it.

Don't touch it!  This one is needed because at this point sys.stdout
and sys.stderr are redirected to a window where you don't want the
parser debug output to show up.  (I mentioned this example in my
previous post.)

--Guido van Rossum (home page: http://www.python.org/~guido/)