A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-March/072157.html below:

[Python-Dev] Rationale for NamedTemporaryFile?

[Python-Dev] Rationale for NamedTemporaryFile? [Python-Dev] Rationale for NamedTemporaryFile?Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 20 23:02:06 CET 2007
Gregory P. Smith wrote:

> I prefer the default of "clean up after itself" as is to avoid leaving
> temporary file turds on systems caused by us lazy programmers.

Maybe instead of an option there should be a separate
function with a different name, such as NewUniqueFile.
For the use cases I have in mind, the file isn't really
"temporary" at all. Or rather, only the name is temporary,
as it ultimately gets renamed.

--
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4