[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

Evgeny report at bugs.python.org
Wed Apr 28 16:08:15 EDT 2021


Evgeny <ev2geny at gmail.com> added the comment:

On Mon, Apr 12, 2021 at 12:51 AM Jason R. Coombs <report at bugs.python.org> wrote:

> Jason R. Coombs <jaraco at jaraco.com> added the comment:

> At least I and Ethan and Martin have expressed a desire for the default, preferred usage work well in a portable environment. Requiring `delete_on_close=False` violates that expectation.

Separately to my previous message. If the only issue with my PR is that default solution is not portable, then this can be simply changed within current PR by setting default of delete_on_close to fe equal to False.

As I mentioned, I was assuming I cannot break backwards compatibility.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue14243>
_______________________________________


More information about the Python-bugs-list mailing list