[Python-bugs-list] [ python-Bugs-604387 ] long list in Pythonwin -> weird text
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 04 Sep 2002 17:04:50 -0700
Bugs item #604387, was opened at 2002-09-04 06:36
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=604387&group_id=5470
Category: Windows
>Group: 3rd Party
Status: Open
Resolution: None
>Priority: 2
Submitted By: James Briggs (jbriggs66)
Assigned to: Mark Hammond (mhammond)
Summary: long list in Pythonwin -> weird text
Initial Comment:
Using Pythonwin (build 148) with ActiveState 2.2.1
>>> import sys
>>> sys.modules.keys()
['code', 'pywin.framework.cmdline', ....
after about 15 lines the output goes weird.
Text is mostly stuck on 1st column, some text appears
and disappears as the scroll bar is moved.
Tried this with Python 2.1 and Pythonwin (build 147 also)
----------------------------------------------------------------------
>Comment By: James Briggs (jbriggs66)
Date: 2002-09-05 00:04
Message:
Logged In: YES
user_id=605472
Another folloup.
All tests were done with the default window size, and full size
window on 1024x768. Screen width effects the where you see
the
Changing to non-fixed size font gets the range(1,000) to work,
but the display still goes wierd on the range(1,2000). Fonts
sizes seem to make no difference. Fonts used were Fixed
width - Courier New 10 pt, Proportional - Arial 10 pt.
----------------------------------------------------------------------
Comment By: James Briggs (jbriggs66)
Date: 2002-09-04 23:06
Message:
Logged In: YES
user_id=605472
Yes, I should have mentioned it worked in IDLE and on cthe
command line. Currently using Windows 2000 (Sp2).
Any very long sequence with enough text seems to cause the
problem.
Try also:
>>> range(1,1000) # will go wierd after 771
>>> s=str(range(1,780))
It seems to be when the total string length gets around 3750
characters.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2002-09-04 15:35
Message:
Logged In: YES
user_id=31435
Note that PythonWin isn't part of the core Python project,
so marked 3rdParty and assigned to Mark Hammond.
I don't see any problems under a DOS box, or under IDLE,
so if there is a problem here, it seems unlikely to be in the
core. Help Mark by giving more info: which flavor of
Windows are you using? Is it a non-US version (French,
Japanese, etc)? Is the problem specific to
sys.modules.keys(), or is it common across every list that
requires more than "about 15 lines" to display?: How wide
is your display window? Which font and point size are you
using? Etc. As is, I doubt there's enough info here for
anyone to help.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=604387&group_id=5470