[Python-Dev] accumulator display syntax

Guido van Rossum guido at python.org
Fri Oct 17 17:50:34 EDT 2003

> Yes.  But don't mind me, I'm still sad that we have range and xrange
> when iter(a:b) and list(a:b:c) would be SUCH good replacements for
> them if slicing-notation was accepted elsewhere than in indexing,

This has been proposed more than once (I think the last time by Paul
Dubois, who wanted x:y:z to be a general expression), and has a
certain elegance, but is probably too terse.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list