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

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Aug 28 04:32:54 CEST 2006


Josiah Carlson wrote:
> If one wants a view of text, one needs to manually
> construct the view via 'view = textview(st, start, stop)' or some
> equivalent spelling.  After that, any operations on a view returns views

Given Guido's sensitivity about potential misuses of
views, it might be better if operations on views
*didn't* return views, so that you would have to be
explicit about creating views at all stages.

--
Greg


More information about the Python-3000 mailing list