Message120389
| 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. |
|