forking + stdout = confusion

Roy Smith roy at popmail.med.nyu.edu
Wed Apr 14 13:04:23 EDT 1999


> >>> import sys
> >>> sys.getrefcount (sys.stdout )
> 5
> 
> Five! I don't know where all of those are...

Yowza!  That certainly explains a lot of the problems I had!

-- 
Roy Smith <roy at popmail.med.nyu.edu>
New York University School of Medicine





More information about the Python-list mailing list