[Python-Dev] sys.__stdout__ - was RE: [Idle-dev] Doc Commentary

Fredrik Lundh effbot@telia.com
Thu, 26 Oct 2000 09:15:45 +0200


mark wrote:
> > If you know of any places that are promoting direct use of __stdout__,
> > please let them know this is wrong.  If you are contemplating to use
> > this in code examples you intend to distribute, please don't!
> 
> I admit that I first became aware of sys.__stdout__ after seeing this exact
> same idiom in other peoples code.  I always assumed that this is _exactly_
> what sys.__stdout__ was to be used for!
> 
> The following examples exist:

and several examples in the eff-bot guide.

guess I'll have to fix it in the second edition...

</F>