[Python-Dev] string representation of range in 3.0

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 15 23:53:22 CEST 2008


Brad Miller wrote:
> It was suggested that a broader discussion might be in order around the 
> issue of iterators and how they are displayed in the command line 
> interpreter.

Whatever is done, I don't think it would be a good idea
to make the str() of these things look *too* much like
a list. I think that would make things more confusing
for a newcomer rather than less.

The way they are, at least it's obvious that they're
something special.

-- 
Greg


More information about the Python-Dev mailing list