tuples, index method, Python's design

Paul Rubin http
Sat Apr 14 01:05:06 EDT 2007


"Rhamphoryncus" <rhamph at gmail.com> writes:
> >   i = s.index(e) => s[i] = e
> > Then this algorithm is no longer guaranteed to work with strings.
> It never worked correctly on unicode strings anyway (which becomes the
> canonical string in python 3.0).

What?!   Are you sure?  That sounds broken to me.



More information about the Python-list mailing list