This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.0008366832
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