[Python-3000] Making more effective use of slice objects in Py3k (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 30 03:37:06 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 ]
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
- 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 ]