On Wed, Apr 16, 2008 at 6:58 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> If you consume values from the iterator to display them in the repr()
> where do you then propose to store them until the application wants
> them, and how do you distinguish between "real" and "repr" consumption
> of the values? "The next couple of elements" is a dangerous thing to use
> unless you don't mind them disappearing.

Not only that, but you'd have no idea what the performance
consequences of accessing the "next" object might be.

--
Curt Hagenlocher
[EMAIL PROTECTED]
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to