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

Neal Norwitz neal@metaslash.com
Mon, 05 Aug 2002 15:19:37 -0400


Guido van Rossum wrote:
> 
> > In testing this patch, I ran across this:
> >
> >       >>> 's' in 's' is True
> >       False
> >
> > What's up with that?  Am I missing something?
> 
> Yes, 'is' and'in' and '==' are all comparison operators, and the
> chaining syntax makes this interpreted as (roughly)

Thanks (to Jeff too).  I knew I had to be missing something.
Well there's a still the patch with a working test.

Neal