Christian Heimes wrote:
> Zbigniew Braniecki wrote:
>> Any clue on what's going on here, and/if where I should report it?
>
> Congratulations! You've stumbled over a well known gotcha. Most newbies
> fall for the trap.
>
> class A:
>def __in
on 2.5)
[EMAIL PROTECTED]:~/projects/pyl10n$ ./scripts/test.py
[]
['foo1', 'foo2']
This bug does not happen when I switch to __init__ (self, *args) and
assign self.lst= args[0].
Any clue on what's going on here, and/if where I should report it?
Greetings
Zbigniew Braniecki
ea on how to compare those lists? I have similar
problem with comparing two directory lists where I also need to keep the
order, and I'm using the same ndiff method now.
Is there a way to speed it up? Any easier way? Faster method?
Greetings
Zbigniew Braniecki
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Zbigniew Braniecki:
>> Is there a way to speed it up? Any easier way? Faster method?
>
> This problem is a bit messy. Maybe it's better to sidestep the
> problem, and not use a list, and create an object that wraps the list,
> so it always