Jim Jewett wrote:
> On 8/27/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:

> > Any object? And how is that supposed to work for arbitrary
> > objects?
> 
> For non-iterables, it will raise a TypeError.

I think the question was what benefit would there be
in a general slice-view object which knew nothing about
the internal structure of the thing it's viewing. The
benefits of the string views we're talking about hinge
on the fact that they're special-purpose and know how
to get directly at the bytes of the underlying string.

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to