[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

Antoine Pitrou report at bugs.python.org
Sun Jul 1 22:37:11 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> If sopen() and the associated constants SH_DENYRD, SH_DENYWR, SH_DENYRW 
> and SH_DENYNO were exposed in the os module, then maybe tempfile could 
> use os.sopen() on Windows instead of os.open() to allow the file to be 
> reopened without closing.

Sounds like a good way forward.

----------
components: +Windows
stage:  -> needs patch
versions: +Python 3.4 -Python 3.3

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


More information about the Python-bugs-list mailing list