On Mon, 2006-08-28 at 21:13 -0700, rdrink wrote: > > (BTW, as a footnote: For each of the above 'equations' the function > equate() was called 500 times... in some cases with the list 'parts' > equaling things like ['0',2','3','0'], so I have no reason to believe > that the problem is with the way the list is being passed in... but I > could be wrong) > > Can anyone see something I can't?
Why don't you simply "print parts" as the first statement of your equate function to check what its value is. Then work out where in your code parts is being modified (especially parts[1]). Regards, John -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- http://mail.python.org/mailman/listinfo/python-list