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 petri.lehtinen
Recipients Carl.Friedrich.Bolz, petri.lehtinen
Date 2011-11-05.20:23:10
SpamBayes Score 4.3347626e-08
Marked as misclassified No
Message-id <1320524591.34.0.91814488061.issue13340@psf.upfronthosting.co.za>
In-reply-to
Content
The same issue exists for tuples:

>>> (1, 2, 3).index(2, None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: slice indices must be integers or None or have an __index__ method
History
Date User Action Args
2011-11-05 20:23:11petri.lehtinensetrecipients: + petri.lehtinen, Carl.Friedrich.Bolz
2011-11-05 20:23:11petri.lehtinensetmessageid: <1320524591.34.0.91814488061.issue13340@psf.upfronthosting.co.za>
2011-11-05 20:23:10petri.lehtinenlinkissue13340 messages
2011-11-05 20:23:10petri.lehtinencreate