strange behaviour when writing a large amount of data on stdout
fredrik at pythonware.com
Wed Nov 23 14:59:45 CET 2005
Manlio Perillo wrote:
> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
> on win32, Windows XP
> I have this problem:
>>>> n = 61409 + 1
>>>> data = 'x' * n
>>>> print data
> Traceback (most recent call last):
> File "xxx", line xxx, in ?
> print data
> IOError: [Errno 12] Not enough space
errno 12 is ENOMEM (that is, the system did not have enough memory
to finish an operation).
is the above a complete interpreter session? if it is, why did you xxx out
the filename (<stdin>) and line number?
More information about the Python-list