[Python-Dev] PEP 0424: A method for exposing a length hint (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sun Jul 15 17:14:30 CEST 2012
- Previous message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Next message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Regards
Antoine.
-- Software development and contracting: http://pro.pitrou.net
- Previous message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Next message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]