Message130029
Python 3.2 fails when printing long strings.
C:\Python32>python
Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("a"*66000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 12] Not enough space
>>>
Some observations:
1) 3.2 on Linux prints just fine.
2) 2.7.1 and 3.1.3 on Windows x64 are fine
3) The 32-bit interpreter for 3.2 also fails.
4) On 32-bit Windows, a length of 62733 works correctly but 62734, and higher, fail.
5) On 64-bit Windows, the output is visibly corrupted when the length reaches 62801 but the error does not occur until the length reaches 65536.
6) While experimenting with various lengths, I was able to crash the interpreter once. |
|
Date |
User |
Action |
Args |
2011-03-04 05:47:43 | casevh | set | recipients:
+ casevh |
2011-03-04 05:47:43 | casevh | set | messageid: <1299217663.52.0.355409591746.issue11395@psf.upfronthosting.co.za> |
2011-03-04 05:47:42 | casevh | link | issue11395 messages |
2011-03-04 05:47:42 | casevh | create | |
|