Message130158
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, casevh, neologix, pitrou, santoso.wijaya, terry.reedy, vstinner |
| Date |
2011年03月06日.10:08:05 |
| SpamBayes Score |
0.04591866 |
| Marked as misclassified |
No |
| Message-id |
<1299406087.0.0.664481893864.issue11395@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 :-) |
|