Find function name in function
Steven Taschuk
staschuk at telusplanet.net
Wed May 21 13:55:21 EDT 2003
Quoth Gerrit Holl:
[...]
> I think backuping sys.stdout is not necessary, as sys.__stdout__
> exists for that goal.
But what if the caller of this code has itself changed sys.stdout
temporarily for some reason? Backup and restore is a good idea.
(Though obviously it would be best for this application if dis
weren't hard-coded to use sys.stdout.)
--
Steven Taschuk 7\ 7'Z {&~ .
staschuk at telusplanet.net Y r --/hG-
(__/ )_ 1^1`
More information about the Python-list
mailing list