This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti, wolma
Date 2014-07-16.21:51:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405547515.54.0.00282732729165.issue21993@psf.upfronthosting.co.za>
In-reply-to
Content
It's using __eq__:
>>> l = [3, 1.0, 5, True, 7, 1]
>>> l.index(1)
1
>>> l.index(True)
1
>>> l.index(1.0)
1
>>> True == 1 == 1.0
True
History
Date User Action Args
2014-07-16 21:51:55ezio.melottisetrecipients: + ezio.melotti, wolma
2014-07-16 21:51:55ezio.melottisetmessageid: <1405547515.54.0.00282732729165.issue21993@psf.upfronthosting.co.za>
2014-07-16 21:51:55ezio.melottilinkissue21993 messages
2014-07-16 21:51:55ezio.melotticreate