Bug in string.find; was: Re: Proposed PEP: New style indexing,was Re: Bug in slice type
Paul Rubin
http
Fri Aug 26 17:31:50 EDT 2005
"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.
More information about the Python-list
mailing list