[issue10474] range.count returns boolean

Alexander Belopolsky report at bugs.python.org
Sat Nov 20 23:45:49 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

SilentGhost,

Benjamin's fix only affect the optimized path when the argument is int or bool.  Exotic comparison rules are handled in the else clause.

----------
nosy: +belopolsky

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10474>
_______________________________________


More information about the Python-bugs-list mailing list