[Python-Dev] Rationale for NamedTemporaryFile?
Gregory P. Smith
greg at electricrain.com
Tue Mar 20 08:00:10 CET 2007
On Mon, Mar 19, 2007 at 12:20:59PM +1200, Greg Ewing wrote:
> Damien Miller wrote:
> > That annoyed me too, so I submitted a patch that was recently
> > committed.
> That looks good. Seems to me it should really be the
> default behaviour, but I suppose that would break
> code that was relying on the automatic deletion.
I prefer the default of "clean up after itself" as is to avoid leaving
temporary file turds on systems caused by us lazy programmers.
More information about the Python-Dev