On Sep 24, 2004, at 11:33 PM, George Yoshida wrote:
> Tim Peters wrote:
> >>>>x = [1]
> >>>>x.extend(-y for y in x)
>> It does not always go into an infinite loop. I was bitten by this:
>> >>> x = []
> >>> x.extend(-y for y in x)
> Segmentation fault
No algorithm that requires infinite memory will run for an infinite
amount of time on a finite computer. Of course it should raise an
exception instead of segfaulting though.. could it be blowing the
stack?
-bob