Changing interpreter's deafult output/error streams

Michael Hudson mwh at python.net
Mon Aug 1 08:39:20 EDT 2005


"Ira" <sheig222 at gmail.com> writes:

> OK let me rephrase,
>
> the standard error stream (and if I'm not mistaken also the one that
> PyErr_Print() writes to) is the python object sys.stderr. Now say I'd go
> ahead and write the following in python...

Ah, OK, I think you're mistaken, and PyErr_Print prints to the C level
FILE* stderr (I agree my first post was confusing on this point, sorry
about that...).

Cheers,
mwh

-- 
  <Acapnotic> jemfinch: What's to parse?  A numeric code, perhaps a
              chicken, and some arguments
                                                -- from Twisted.Quotes



More information about the Python-list mailing list