"in" operator for strings

Pete Shinners shredwheat at mediaone.net
Sat Feb 3 01:02:25 EST 2001


> Well... Then "in" would test for both membership and
> subsequenceness... Quite a strong case of ambiguity if you
> ask me. In my opinion a really *bad* idea. (And would it

hmm, well when posting the idea this was really the only
drawback against such a feature. in my mind there is no problem
separating strings and lists. the two feature many similar
characteristics, but at no point have i ever had the two item
types confused.

i was pretty sure the idea would get shutdown, but i still
feel the functionality would be quite natural and useful.
anyways, there's obviously much more than one or two camps
of people using python, and python with or without an "in string"
operator is still going to be one of my preferred languages :]







More information about the Python-list mailing list