Stuck in a loop

2008-03-31 Thread hexusnexus
I wrote a simple algorithm and it keeps getting stuck in a loop. I guess I'm just to tired to figure it out: compcount=[5,4,2,2] suitrank=[0,0,0,0] trump=2 l,lt=0,0 while l4: while lt4: if l==trump: l+=1 if l3: break if lt==trump

Re: Stuck in a loop

2008-03-31 Thread Dan Bishop
On Mar 31, 8:22 pm, [EMAIL PROTECTED] wrote: I wrote a simple algorithm and it keeps getting stuck in a loop. I guess I'm just to tired to figure it out: compcount=[5,4,2,2] suitrank=[0,0,0,0] trump=2 l,lt=0,0 while l4: while lt4: if l==trump: l+=1

Re: Stuck in a loop

2008-03-31 Thread Terry Reedy
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] |I wrote a simple algorithm and it keeps getting stuck in a loop. I | guess I'm just to tired to figure it out: The easiest way to figure out somethinglike this is to print your variables from inside the loop to see things stick

[ python-Bugs-1661745 ] finditer stuck in infinite loop

2007-02-22 Thread SourceForge.net
thread, including the initial issue submission, for this request, not just the latest update. Category: Regular Expressions Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Milan (migues) Assigned to: Gustavo Niemeyer (niemeyer) Summary: finditer stuck

[ python-Bugs-1661745 ] finditer stuck in infinite loop

2007-02-22 Thread SourceForge.net
thread, including the initial issue submission, for this request, not just the latest update. Category: Regular Expressions Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Milan (migues) Assigned to: Gustavo Niemeyer (niemeyer) Summary: finditer stuck

[ python-Bugs-1661745 ] finditer stuck in infinite loop

2007-02-22 Thread SourceForge.net
thread, including the initial issue submission, for this request, not just the latest update. Category: Regular Expressions Group: Python 2.5 Status: Closed Resolution: Duplicate Priority: 5 Private: No Submitted By: Milan (migues) Assigned to: Gustavo Niemeyer (niemeyer) Summary: finditer stuck

[ python-Bugs-1661745 ] finditer stuck in infinite loop

2007-02-16 Thread SourceForge.net
of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Regular Expressions Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Milan (migues) Assigned to: Gustavo Niemeyer (niemeyer) Summary: finditer stuck