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 loewis
Recipients alex, loewis, varun_masuraha
Date 2012-09-03.05:51:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346651463.97.0.421538024409.issue15850@psf.upfronthosting.co.za>
In-reply-to
Content
Varun: what do you think that

py> x = [1.0, 2.0, 3.0]
py> x.count(3)
1

should give? I think most people will agree that there is one single "three" in the list, as 3 and 3.0 are equal in all other contexts as well (as is 3.0+0j). If types were considered, this would give 0.
History
Date User Action Args
2012-09-03 05:51:04loewissetrecipients: + loewis, alex, varun_masuraha
2012-09-03 05:51:03loewissetmessageid: <1346651463.97.0.421538024409.issue15850@psf.upfronthosting.co.za>
2012-09-03 05:51:03loewislinkissue15850 messages
2012-09-03 05:51:03loewiscreate