[issue21993] counterintuitive behavior of list.index with boolean values

Wolfgang Maier report at bugs.python.org
Thu Jul 17 00:09:44 CEST 2014


Wolfgang Maier added the comment:

Right, forgot about that.

The consequence for the example is still far from satisfying, I think, but you can't change it without breaking compatibility then.

Thanks for the quick reply,
Wolfgang

----------

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


More information about the Python-bugs-list mailing list