[IronPython] int64/long incompatibility in dictionary lookup

Ronnie Maor ronnie.maor at gmail.com
Tue Aug 12 22:09:35 CEST 2008


Hi all,

is the following a known issue?

>>> x = System.Int64(8591464408876390743)
>>> y = long(x)
>>> x == y
True
>>> d = {x:3}
>>> d[x]
3
>>> d[y]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: 8591464408876390743

happens in both IPy 1.1.2 and 2.0b4

thanks
Ronnie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080812/210c8747/attachment.html>


More information about the Ironpython-users mailing list