Author gvanrossum
Recipients Arfrever, ezio.melotti, gvanrossum, jkloth, lemburg, mrabarnett, pitrou, r.david.murray, tchrist, terry.reedy, v+python, vstinner
Date 2011-08-27.03:26:20
SpamBayes Score 0.000836683
Marked as misclassified No
Message-id <CAP7+vJLTw8Ya0hJzfcZLNqJ3p3wGF68k2rPzaR5D_dKae6XEVw@mail.gmail.com>
In-reply-to <1314414753.58.0.189637808515.issue12729@psf.upfronthosting.co.za>
Content
To me, making (default) iteration deviate from indexing is anathema.

However, there is nothing wrong with providing a library function that
takes a string and returns an iterator that iterates over code points,
joining surrogate pairs as needed. You could even have one that
iterates over characters (I think Tom calls them graphemes), if that
is well-defined and useful.
History
Date User Action Args
2011-08-27 03:26:21gvanrossumsetrecipients: + gvanrossum, lemburg, terry.reedy, pitrou, vstinner, jkloth, ezio.melotti, mrabarnett, Arfrever, v+python, r.david.murray, tchrist
2011-08-27 03:26:20gvanrossumlinkissue12729 messages
2011-08-27 03:26:20gvanrossumcreate