> Welcome to the wacky world of recursion.
> You call __upp from inside __upp so you do indeed generate
> a new layer, in fact you start a new while loop. You need to
> move the while loop out into init, something like this:

So all those "yes"s were actually backing out of multiple while  
loops... Should have guessed that calling a method from inside itself  
was a bad idea.

Thanks for your help,

E
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to