[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

Steve Dower report at bugs.python.org
Wed Sep 9 17:27:13 EDT 2020


Steve Dower <steve.dower at python.org> added the comment:

The comment you quoted was referring to the NamedTemporaryFile(do_not_delete) flag.

Yes, we'd have to reimplement the UCRT function using the system API. Ultimately, it's not a great compatibility layer if you want to match POSIX semantics and not just the C specification, which is why we do it so often :)

----------

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


More information about the Python-bugs-list mailing list