On 8/29/06, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Josiah Carlson wrote:
>
> > If views are not automatically returned for methods on strings, then you
> > won't have to worry about views unless you explicitly construct them.
>
> Although you might have to worry about someone else
> handing you a view when you weren't expecting it. Minimising
> the chance of that is a reason for operations on views
> not to return further views by default.

In support of Josiah here: I think that's the caller's responsibility then.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
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