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

Antoine Pitrou solipsis at pitrou.net
Sun Jul 15 16:22:32 CEST 2012


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




More information about the Python-Dev mailing list