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

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 30 03:37:06 CEST 2006


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.

--
Greg


More information about the Python-3000 mailing list