Re: Endless loop

2010-01-02 Thread alexru
On Jan 2, 3:50 pm, vsoler  wrote:

> My question is: why does this second script not stop after printing
> number 3?  what made the first one stop while the second one will not?

First one will raise IndexError when string is over, second one won't.
-- 
http://mail.python.org/mailman/listinfo/python-list


Standardized interpreter speed evaluation tool

2010-01-08 Thread alexru
Is there any standardized interpreter speed evaluation tool? Say I
made few changes in interpreter code and want to know if those changes
made python any better, which test should I use?
-- 
http://mail.python.org/mailman/listinfo/python-list