New submission from Case Van Horsen <cas...@gmail.com>: 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. ---------- messages: 130029 nosy: casevh priority: normal severity: normal status: open title: print(s) fails on Windows with long strings type: crash versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11395> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com