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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, casevh, neologix, pitrou, santoso.wijaya, vstinner
Date 2011-03-04.09:50:52
SpamBayes Score 2.359036e-06
Marked as misclassified No
Message-id <1299232254.62.0.847135441084.issue11395@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed, Python3.1 fails with the -u option.

Before r87824, the C call to write() performed CRLF conversion.  In the implementation of MSVCRT, a local buffer is used (1025 chars in vs8.0, 5*1024 in vs10.0), so WriteFile is called with small sizes.
Since r87824 (or with -u), no such conversion occurs, and WriteFile is called with the full buffer.
History
Date User Action Args
2011-03-04 09:50:54amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, pitrou, vstinner, casevh, neologix, santoso.wijaya
2011-03-04 09:50:54amaury.forgeotdarcsetmessageid: <1299232254.62.0.847135441084.issue11395@psf.upfronthosting.co.za>
2011-03-04 09:50:52amaury.forgeotdarclinkissue11395 messages
2011-03-04 09:50:52amaury.forgeotdarccreate