[Python-Dev] PEP 0424: A method for exposing a length hint (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sun Jul 15 16:22:32 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 Mon, 16 Jul 2012 00:08:41 +1000 Nick Coghlan <ncoghlan at gmail.com> wrote:
Right, I agree on the value in being able to return something to say "this cannot be converted to a concrete container".
Who would be able to return that, apart from trivial cases like itertools.cycle()?
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 ]