[Python-Dev] Dafanging the find() gotcha

Andrew Koenig ark@research.att.com
05 Aug 2002 14:51:45 -0400

Eric> Raise an exception.  Definitely.  There is no reason to follow
Eric> find() rigidly when the whole point is to have semantics
Eric> different from find().  Besides, you're right to point out that
Eric> changing this behavior could break existing code, and that is a
Eric> big no-no.

Changing the meaning of ('ab' in 'abc') might also break existing code.

Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark