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 <rep...@bugs.python.org> <http://bugs.python.org/issue14243> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com