pythonwin crash when printing large string (10K)
David Lees
abcdebl2nospamm at bellatlantic.net
Tue Dec 10 20:37:13 EST 2002
It does not crash on my Win98SE box using the same version of
PythonWin. However, there is a noticable lag (maybe a 1/2 second) for
susequent pythonWin commands after executing your print. One question
to ask is why do you want to print such a long string. If you assign
the string to a variable you can access it in little pieces that fit on
your screeen with little stress on resources. For example:
>>> x = 'largestring'*1000
>>> print x[1100:1111]
largestring
david lees
Irmen de Jong wrote:
>
> Hi
>
> Using PythonWin 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
> win32. (win32all build 148) on windows XP.
>
> print 'largestring'*1000
>
> --> CRASH (apparently in scintilla.dll) (also works fine in console python.exe)
>
> Is this a known problem?
>
> Regards
> Irmen de Jong
More information about the Python-list
mailing list