[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows
Piotr Dobrogost
report at bugs.python.org
Tue Mar 12 23:02:32 CET 2013
Piotr Dobrogost added the comment:
@sbt
> (...) and it seems that on Windows open() is more or less implemented
> as a wrapper of sopen(..., ..., SH_DENYNO, ...).
> So the only reason that trying to reopen a NamedTemporaryFile fails on
> Windows is because when we reopen we need to use O_TEMPORARY.
Could you elaborate on this? What's the relation between SH_DENYNO argument to sopen() and O_TEMPORARY flag?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14243>
_______________________________________
More information about the Python-bugs-list
mailing list