[IronPython] function/method comparison
Martin Maly
Martin.Maly at microsoft.com
Thu Dec 22 20:54:28 CET 2005
Great bug, Thanks!
Martin
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of William Reade
Sent: Thursday, December 22, 2005 11:36 AM
To: Discussion of IronPython
Subject: [IronPython] function/method comparison
Hi, we have another bug report. This one's a bit longer...
In IronPythonConsole (0.9.6):
------------------------------------------------------------------
IronPython 0.9.6 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> class C:
... def f(self):
... pass
...
>>> c = C()
>>> c.f == c.f
False
>>> C.f == C.f
False
------------------------------------------------------------------
...and in IronPythonConsole (0.9.5):
------------------------------------------------------------------
IronPython 0.9.5 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> class C:
... def f(self):
... pass
...
>>> c = C()
>>> c.f == c.f
False
>>> C.f == C.f
True
------------------------------------------------------------------
We believe that both comparisons should evaluate to True.
Merry Christmas ;-)
William
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list