[issue29573] NamedTemporaryFile with delete=True should not fail if file already deleted

Martin Panter report at bugs.python.org
Mon Mar 27 18:58:11 EDT 2017


Martin Panter added the comment:

See also Issue 27425, about making the deletion step more flexible after the file has been created, which might help here.

I’m not sure about security problems, but IMO failure to remove a temporary file (because it is already gone, or some other reason) is likely to be a programming mistake, so I would not want it silenced.

----------
nosy: +martin.panter

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29573>
_______________________________________


More information about the Python-bugs-list mailing list