steven bethard tzmfkenpikfgggmailcom tue apr 8 2008 725 anand balachandran pillai wrote hi seems inconsistency way new range type implements equality inequality operators python 2x range course returns lists equate lhs two range functions range get true since comparing equal lists python 251 r25154863 sep 6 2007 172708 gcc 411 20061011 red hat 41130 linux2 type help copyright credits license information range510range510 true py3k however see following behavior python 30a4 py3k62126 apr 3 2008 162840 gcc 412 20070626 red hat 41213 linux2 type help copyright credits license information range510range510 false r1range510 r2range510 r1r2 false r1 r2 true wont quite confusing people carry forward code 2x 30 people carrying code 2x 30 using xrange range activepython 2511 activestate software inc based python 251 r25154863 may 1 2007 174705 msc v1310 32 bit intel win32 type help copyright credits license information xrange5 10 xrange5 10 false steve im insane indeed far sane appear tiny blip distant coast sanity bucky katt get fuzzy _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 044157 0600 python3000 equality range objects