Roy Smith, 27.05.2011 03:13:
Ethan Furman wrote:--> 'this is a test'.startswith('this') True --> 'this is a test'.startswith('this', None, 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[...]Any reason this is not a bug?+1 for it being a bug.
Meaning that the right thing to do at this point is to file a bug report. Stefan -- http://mail.python.org/mailman/listinfo/python-list