Bug in string.find; was: Re: Proposed PEP: New style indexing,was Re: Bug in slice type
tjreedy at udel.edu
Sat Aug 27 03:20:02 CEST 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
>> an exception on invalid input. Should more or even all be duplicated?
>> 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