On Fri, 12 Mar 2010 11:04:13 pm C.T. Matsumoto wrote:

[snip 269 lines of quoted text]

> Thanks Jeff. Indeed when I kept the code as is and added a doubled
> element to the input list, it went into an infinite loop. For running
> the swap it doesn't matter if the elements are equal. Catching equal
> elements makes a recursive loop. As I found out when I tested it.

In future, could you please trim your quoting to be a little less 
excessive? There's no need to included the ENTIRE history of the thread 
in every post. That was about four pages of quoting to add five short 
sentences!


Thank you.



-- 
Steven D'Aprano
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to