[Python-3000] Droping find/rfind?

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Aug 26 03:32:10 CEST 2006


Paul Prescod wrote:

> I also didn't know about the optional arguments to startswith and wonder 
> if they are much used or just cruft.

Looking through the string methods, it appears that only
a few of them, seemingly chosen arbitrarily, have start
and stop arguments.

Seems to me a string-view object supporting all of the
string methods would be a much better idea than this
haphazard mixture, and would fit in nicely with the
Py3k views philosophy.

--
Greg


More information about the Python-3000 mailing list