Pythonwin don't show the complete list in interactiv window!?

Neil Hodgson nhodgson at bigpond.net.au
Tue Apr 22 04:26:49 EDT 2003


Klaus Meyer:

> >>> x=range(1000)
> >>> x
> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
> (lines removed)
> 762, 763, 764, 765, 766, 767, 768, 769, 770, 771,
> >>>
>
> The interactive windows shows only a part of the list (last value 771).
> (Win2000)
>
> A bug?

   It is a Scintilla bug or limitation. Newer versions of Scintilla don't
stop at 771 but there are still limits. Using a current version on Windows
2000 stops at 1850, which is 10000 characters. There are OS limitations that
mean that increasing this or making it try to handle arbitrarily long lines
may result in worse behaviour such as sometimes crashing. There may be more
work done on this in the future.

   Neil






More information about the Python-list mailing list