This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author piotr.dobrogost
Recipients brian.curtin, dabrahams, davide.rizzo, dlenski, eric.araujo, eric.smith, jaraco, ncoghlan, piotr.dobrogost, pitrou, r.david.murray, sbt, tim.golden
Date 2013-03-12.22:02:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363125752.08.0.155839014149.issue14243@psf.upfronthosting.co.za>
In-reply-to
Content
@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?
History
Date User Action Args
2013-03-12 22:02:32piotr.dobrogostsetrecipients: + piotr.dobrogost, jaraco, ncoghlan, pitrou, eric.smith, tim.golden, eric.araujo, r.david.murray, brian.curtin, dabrahams, davide.rizzo, sbt, dlenski
2013-03-12 22:02:32piotr.dobrogostsetmessageid: <1363125752.08.0.155839014149.issue14243@psf.upfronthosting.co.za>
2013-03-12 22:02:32piotr.dobrogostlinkissue14243 messages
2013-03-12 22:02:31piotr.dobrogostcreate