Message120389
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. |
|
Date |
User |
Action |
Args |
2010-11-04 10:35:12 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, pitrou, tim.golden, brian.curtin, mspacek |
2010-11-04 10:35:12 | amaury.forgeotdarc | set | messageid: <1288866912.84.0.452239578271.issue9611@psf.upfronthosting.co.za> |
2010-11-04 10:35:10 | amaury.forgeotdarc | link | issue9611 messages |
2010-11-04 10:35:09 | amaury.forgeotdarc | create | |
|