On Mon, Apr 28, 2008 at 10:49 PM, Greg Ewing
<[EMAIL PROTECTED]> wrote:
>  The problem with NamedTemporaryFile is that it deletes
>  the file as soon as you close it, which makes the
>  named-ness of it rather useless, as far as I can see.

Why? You can flush it and then all the data is on the disk.

The whole point of [Named]TemporaryFile is to automate the cleanup as
well as the creation.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to