Bug in string.find; was: Re: Proposed PEP: New style indexing,was Re: Bug in slice type
Terry Reedy
tjreedy at udel.edu
Fri Aug 26 21:20:02 EDT 2005
"Paul Rubin" <"http://phr.cx"@NOSPAM.invalid> wrote in message
news:7xslwwjsft.fsf at ruckus.brouhaha.com...
> "Terry Reedy" <tjreedy at udel.edu> writes:
>> The try/except pattern is a pretty basic part of Python's design. One
>> could say the same about clutter for *every* function or method that
>> raises
>> an exception on invalid input. Should more or even all be duplicated?
>> Why
>> just this one?
>
> Someone must have thought str.find was worth having, or else it
> wouldn't be in the library.
Well, Guido no longer thinks it worth having and emphatically agreed that
it should be added to one of the 'To be removed' sections of PEP 3000.
Terry J. Reedy
More information about the Python-list
mailing list