[Python-3000] Making more effective use of slice objects in Py3k

Guido van Rossum guido at python.org
Wed Aug 30 05:16:26 CEST 2006

On 8/29/06, Greg Ewing <greg.ewing at canterbury.ac.nz> 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/)

More information about the Python-3000 mailing list