[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


LS


Following fragment:
===================

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

print aList
aList.remove (anItem)
print aList


Prints in IP 0.9.6
==================

[['a']]
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
==================

[['a']]
[]

Prints in Cpython 2.4
=====================

[['a']]
[]


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
code.


Kind regards
Jacques de Hooge
info at geatec.com 





More information about the Ironpython-users mailing list