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 loewis
Recipients amaury.forgeotdarc, brian.curtin, loewis, mspacek, pitrou, tim.golden, vstinner
Date 2010-11-04.19:50:58
SpamBayes Score 3.321508e-07
Marked as misclassified No
Message-id <1288900260.38.0.0942919063995.issue9611@psf.upfronthosting.co.za>
In-reply-to
Content
I propose a different solution: On Windows, instead of calling write(), we call WriteFile directly. We try to faithfully follow the CRT implementation as much as possible, knowing that what we write to actually is a binary file (in particular, the file handle should get locked). We should perhaps make an exception for the standard handles (0,1,2), and fall back to call the CRT write unless we determine they are also in binary mode.
History
Date User Action Args
2010-11-04 19:51:00loewissetrecipients: + loewis, amaury.forgeotdarc, pitrou, vstinner, tim.golden, brian.curtin, mspacek
2010-11-04 19:51:00loewissetmessageid: <1288900260.38.0.0942919063995.issue9611@psf.upfronthosting.co.za>
2010-11-04 19:50:58loewislinkissue9611 messages
2010-11-04 19:50:58loewiscreate