On Fri, Mar 29, 2013 at 2:34 PM, Neil Hodgson <nhodg...@iinet.net.au> wrote:
>    It doesn't horrify me - I've been working this way for over 10 years and
> it seems completely natural. You can wrap access in iterators that hide the
> byte offsets if you like. This then ensures that all operations on those
> iterators are safe only allowing the iterator to point at the start/end of
> valid characters.

But both this and your example of case conversion are, fundamentally,
iterating over the string. What if you aren't doing that? What if you
want to parse and process?

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to