Find function name in function

Erik Max Francis max at alcyone.com
Wed May 21 14:33:31 EDT 2003


Gerrit Holl wrote:

> I think backuping sys.stdout is not necessary, as sys.__stdout__
> exists for that goal.

If this is intended to act as a standalone script, you of course have a
point.  If it's a library function, though, sys.stdout may have already
been overridden at some point and you may want to be safe.

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Have you ever loved somebody / Who didn't know
\__/  Zhane




More information about the Python-list mailing list