[ python-Bugs-1610485 ] GUI for Python 2.3, 2.4, and 2.5 is very sluggish
SourceForge.net
noreply at sourceforge.net
Thu Dec 7 06:53:32 CET 2006
Bugs item #1610485, was opened at 2006-12-06 18:44
Message generated for change (Comment added) made by kbk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1610485&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.5
>Status: Pending
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: g4rlik (g4rlik)
>Assigned to: Kurt B. Kaiser (kbk)
Summary: GUI for Python 2.3, 2.4, and 2.5 is very sluggish
Initial Comment:
The GUI for Python versions 2.3, 2.4, and 2.5 are very sluggish. When I type in them, or simply move them around my desktop, they are very slow.
Someone helping me from help at python.org was able to guess that the reason the GUI is slow for me is because of the subprocesses running, and he was right.
To cope with this problem, I created an idle.txt file, and added this to the first line of it:
c:\python25\python c:\python25\Lib\idlelib\idle.py -n
After that I saved the extension to .bat and now when I run that file, the Python GUI opens without any subprocesses running and I have no problem. However, I'd still really like to know how I could fix this problem even more. The GUIs for Python version 2.2 and below run fine for me.
I am using Windows XP Home Edition Service Pack 2.
----------------------------------------------------------------------
>Comment By: Kurt B. Kaiser (kbk)
Date: 2006-12-07 00:53
Message:
Logged In: YES
user_id=149084
Originator: NO
I have not seen anything like this myself on W2K or WinXP, nor have I
heard of something like this before. We switched to the subprocess
version of IDLE at 2.3. When printing a mass of text to the Shell window,
IDLE is about 30% slower when using the subprocess, but that doesn't sound
like what you are reporting.
When I move IDLE's windows around there is no perceptible delay, nor can I
detect any slowness when typing. (The 30% isn't involved when doing that).
I can run
i = 1
while True:
i +=1
print i
and the GUI responds quickly even though the cpu is near 100%.
If the solution works for you, fine, but it seems likely to me that there
is something misconfigured with your Windows installation or that it is
compromised by spyware or otherwise overloaded or having a hardware
problem.
I'm setting this bug as pending, works for me unless you can come up with
something more definitive. What does your Task Manager show for CPU
utilization when you are having this problem? It seems that something is
hogging your cpu or you have a very slow computer. What's the clock rate
and memory size?
If you are running an internal firewall, try disconnecting from the net
and turn off the firewall temporarily to see if the problem is there.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1610485&group_id=5470
More information about the Python-bugs-list
mailing list