[Python-Dev] Re: string.find() again (was Re: timsort for jython)

Gordon McMillan gmcm@hypernet.com
Fri, 9 Aug 2002 07:51:30 -0400


On 8 Aug 2002 at 17:22, Ka-Ping Yee wrote:

> That's fine.  But what i'm trying to say is there's
> a migration issue: this decision is a significant
> change from current behaviour, and it worries me
> that we would let this change pass silently without
> any grace period. 

But it's no more significant than 'ab' in 'abc' not
raising an exception. If you're relying on "x in str"
to validate the "char"ness of x, you're screwed
either way.

-- Gordon
http://www.mcmillan-inc.com/