[IronPython] Comparing Tuples Bug

Dino Viehland dinov at exchange.microsoft.com
Thu May 4 10:08:46 PDT 2006


It looks like we've actually got that one fixed for the upcoming beta 7.  But thanks for reporting it, and certainly keep them coming if you notice any more.

Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Thursday, May 04, 2006 10:05 AM
To: Discussion of IronPython
Subject: [IronPython] Comparing Tuples Bug

Hello all,


I'm not sure if this has already been picked up on, I realise several
compare bugs have. My apologies if this is a dup.

CPython :

 >>> (set(),) == (set(),)
True
 >>>

IronPython-Beta6:

 >>> (set(),) == (set(),)
Traceback (most recent call last):
  File , line 0, in input##0
TypeError: cannot compare sets using cmp()
 >>>

All the best,


Michael Foord
http://www.resolversystems.com

_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the users mailing list