[Python-3000] Droping find/rfind?
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Aug 24 03:36:25 CEST 2006
Josiah Carlson wrote:
> Given search as a potential replacement, about the only question is
> whether count should default to sys.maxint or 1.
Do you think that there will be many use cases for
count values *other* than 1 or sys.maxint? If not,
it might be more sensible to have two functions,
search() and searchall().
And while we're on this, what about list.index?
Should it also be replaced with list.search or
whatever as well?
--
Greg
More information about the Python-3000
mailing list