[IronPython] Equals between RuntimeType and python type

Idan Zaltzberg idan at cloudshare.com
Sun Mar 21 15:10:52 CET 2010


Hi,

I am using Ipy 2.6 (final).

I tried to do the following code and got some puzzling results:



from System import Int64

x = Int64()

print type(x) == x.GetType() # return True

print type(x) != x.GetType() # also returns True!



Is this a bug or a am I missing something?



Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100321/371fa267/attachment.html>


More information about the Ironpython-users mailing list