Hi all,

Further discoveries from our update to use Ipy 2:
In Ipy1:
>>> from System import Int64
>>> i = Int64(3)
>>> range(1, 100)[i:20]
[4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]

in IPy2:
>>> from System import Int64
>>> i = Int64(5)
>>> range(1, 100)[i:20]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: expected index value, got Int64


It's not a major issue for us, but it's still a little strange.

Thanks
Glenn & Michael
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to