[Python-Dev] PEP 0424: A method for exposing a length hint

Antoine Pitrou solipsis at pitrou.net
Sun Jul 15 17:14:30 CEST 2012

On Sun, 15 Jul 2012 16:08:00 +0100
Mark Shannon <mark at hotpy.org> wrote:
> What should happen if I am silly enough to do this:
>  >>> list(itertools.count())
> This will fail; it should fail quickly.

Why should it? AFAIK it's not a common complaint. You said it yourself:
it's a silly thing to do.



Software development and contracting: http://pro.pitrou.net

More information about the Python-Dev mailing list