[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows
Eryk Sun
report at bugs.python.org
Fri Apr 30 13:39:01 EDT 2021
Eryk Sun <eryksun at gmail.com> added the comment:
> Does it mean, that your suggestion to leave the O_TEMPORARY for
> TemporaryFile means, that NamedTemporaryFile needs to have a
> mechanism to know whether it was called as a TemporaryFile
Just implement a separate function for TemporaryFile() instead of aliasing it to NamedTemporaryFile(). See msg390814.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue14243>
_______________________________________
More information about the Python-bugs-list
mailing list