[IronPython] bug: list.remove broken in transition from 0.9.5 to 0.9.6

J. de Hooge info at geatec.com
Mon Dec 12 13:07:41 CET 2005


Following fragment:

aList = [['a']]
anItem = ['a']

print aList
aList.remove (anItem)
print aList

Prints in IP 0.9.6

Traceback (most recent call last):
   at __main__.Initialize() in C:\activ_dell\prog\fun\src\funTry.py:line 5
ValueError: list.index(x): x not in list

Prints in IP 0.9.5


Prints in Cpython 2.4


Of course this probably has to do with the in-bug reported earlier.
But this one for me is more severe since I use list.remove quite a lot in my

Kind regards
Jacques de Hooge
info at geatec.com 

More information about the Ironpython-users mailing list