[Python-3000] Making more effective use of slice objects in Py3k (original) (raw)
Guido van Rossum guido at python.org
Wed Aug 30 05:16:26 CEST 2006
- Previous message: [Python-3000] Making more effective use of slice objects in Py3k
- Next message: [Python-3000] Making more effective use of slice objects in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-3000] Making more effective use of slice objects in Py3k
- Next message: [Python-3000] Making more effective use of slice objects in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]