Hi Donny, On Fri, Aug 20, 2010 at 06:23:26AM -0400, Donny Viszneki wrote: > Armin: Sakesun used "del f" and it appears you did not. In Python > IIRC, an explicit call to del should kick off the finalizer to flush > and close the file!
No, you are wrong. Try for example: >>> f = open('xxx') >>> g = f >>> del f After this, 'g' still refers to the file, and it is still open. If you want the file to be flushed and closed, then call 'f.close()' :-) A bientot, Armin. _______________________________________________ pypy-...@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev