2.1 vs. 2.2

Tim Peters tim.one at comcast.net
Sat Apr 13 22:53:11 EDT 2002


[Jens Baader]
> BTW, try this in interactive mode:
>
> "The Python interpreter is very stable"*30000
>
> At least at my system the interpreter promptly
> hangs itself.


> ...
> It works well if you use the command
> line interface so the bug seem to be related to
> IDLE (I'm using Python 2.2.1 with WinXP)

Ah.  It's not a bug, but if you want to call it one you'll have to talk to
the Tcl/Tk people:  the Tk text widget has severe performance problems with
very long lines (and this line is about a megabyte).  Note that it's not
hung:  if you wait long enough, it will eventually display the whole thing,
chewing up close to 100% of your CPU until that happens.  I'm trying it
right now under IDLE, and so far it's consumed about 18 CPU minutes.

looks-like-i'll-be-staying-up-late<wink>-ly y'rs  - tim

PS:  Oooh!  It finished!  It took 20 CPU minutes and 32 CPU seconds on
     an 866 MHz Win98SE box.






More information about the Python-list mailing list