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, brian.curtin, loewis, mspacek, pitrou, tim.golden
Date 2010-11-04.10:35:09
SpamBayes Score 0.00010350053
Marked as misclassified No
Message-id <1288866912.84.0.452239578271.issue9611@psf.upfronthosting.co.za>
In-reply-to
Content
Fortunately, the lower-level write() has no such bug, at least when used in binary mode as FileIO does: it's almost a direct call to WriteFile().
This issue is more considered because it's not a bug in the Microsoft CRT, but in the Python implementation of the IO stack.

About the issue, I'd suggest to just clamp the length to 2**32-1, and don't bother retrying; leave this to the buffered layer.
History
Date User Action Args
2010-11-04 10:35:12amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, pitrou, tim.golden, brian.curtin, mspacek
2010-11-04 10:35:12amaury.forgeotdarcsetmessageid: <1288866912.84.0.452239578271.issue9611@psf.upfronthosting.co.za>
2010-11-04 10:35:10amaury.forgeotdarclinkissue9611 messages
2010-11-04 10:35:09amaury.forgeotdarccreate