It's a bug - It's already fixed for the final 2.6.1 release.

From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Idan Zaltzberg
Sent: Sunday, March 21, 2010 7:11 AM
To: users@lists.ironpython.com
Subject: [IronPython] Equals between RuntimeType and python type

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.
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to