homepage

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 steve.dower
Recipients BreamoreBoy, dabrahams, loewis, ncoghlan, piotr.dobrogost, pitrou, sbt, steve.dower, tim.golden, zach.ware
Date 2014年10月03日.21:07:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412370475.93.0.342596057515.issue15244@psf.upfronthosting.co.za>
In-reply-to
Content
As much as I like the idea of using OS handles everywhere, the compatibility issues are probably too significant, and you can't mix CRT methods with OS methods because the CRT does its own buffering. Of course, you can open a file with the Win32 API and immediately call open_osfhandle() safely enough.
It seems this should be solvable with the opener argument of open(). Was that discussed and I missed it? Would the ability to write "open(f, opener=with_same_sharing_as(f))" be okay/useful/relevant for all platforms?
History
Date User Action Args
2014年10月03日 21:07:55steve.dowersetrecipients: + steve.dower, loewis, ncoghlan, pitrou, tim.golden, dabrahams, BreamoreBoy, sbt, piotr.dobrogost, zach.ware
2014年10月03日 21:07:55steve.dowersetmessageid: <1412370475.93.0.342596057515.issue15244@psf.upfronthosting.co.za>
2014年10月03日 21:07:55steve.dowerlinkissue15244 messages
2014年10月03日 21:07:55steve.dowercreate

AltStyle によって変換されたページ (->オリジナル) /