Message130158
I did some tests: os.write(1, b'X'*length) does always fail with length >= 63842. It does sometimes fail with length > 35000. The maximum looks completly random: as written in Microsoft documentation, "The maximum size of the buffer will depend on heap usage"...
32000 looks arbitrary. I would prefer 2^15-1 (32767) because it looks less magical :-) |
|
Date |
User |
Action |
Args |
2011-03-06 10:08:07 | vstinner | set | recipients:
+ vstinner, terry.reedy, amaury.forgeotdarc, pitrou, casevh, neologix, santoso.wijaya |
2011-03-06 10:08:06 | vstinner | set | messageid: <1299406087.0.0.664481893864.issue11395@psf.upfronthosting.co.za> |
2011-03-06 10:08:06 | vstinner | link | issue11395 messages |
2011-03-06 10:08:05 | vstinner | create | |
|