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 SilentGhost
Recipients SilentGhost
Date 2010-11-20.22:26:57
SpamBayes Score 2.1917996e-05
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
>>> a = range(5)
>>> a.count(5)
False
>>> a.count(2)
True

I believe this is related to the issue9213 that introduced count and index method on the range object. According to the documentation accompanying that fix it should return an integer.
History
Date User Action Args
2010-11-20 22:27:00SilentGhostsetrecipients: + SilentGhost
2010-11-20 22:27:00SilentGhostsetmessageid: <[email protected]>
2010-11-20 22:26:58SilentGhostlinkissue10474 messages
2010-11-20 22:26:57SilentGhostcreate