On Jun 22, 1:58 pm, hiro <[EMAIL PROTECTED]> wrote: > On Jun 22, 1:56 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > > > In <[EMAIL PROTECTED]>, hiro wrote: > > > Hi once again, Charles.. I have tried your approach in my data set l2 > > > and it keeps crashing on me, > > > bare in mind that I have a little over 10 million objects in my list > > > (l2) and l1 contains around 4 thousand > > > objects.. (i have enough ram in my computer so memory is not a > > > problem) > > > > python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit > > > (Intel)] on win32 > > > > error is : ValueError: list.index(x): x not in list > > > So you are saying you get this error with the value of `x` actually in the > > list!? Somehow hard to believe. > > > Ciao, > > Marc 'BlackJack' Rintsch > > yes I do
I doubled, trippled check my data already (even doing a search by hand using vim) and the data is fine. Still looking into it though -- http://mail.python.org/mailman/listinfo/python-list