Meta: PEP discussion (was Re: PEP 255: Simple Generators)

Tim Peters tim.one at home.com
Thu Jun 21 22:30:23 EDT 2001


[Paul Prescod]
> Did icon switch from eager evaluation of the function to lazy
> evaluation based on the occurrence of a keyword somewhere in the
> function?

FYI, Icon didn't expose the implementation, so there was no way to tell.  In
Python, we build "the generator part" on top of "the iterator part", and
both are visible.  The little gap between is the source of both the
additional capabilities and potential confusion, compared to Icon's
generators.





More information about the Python-list mailing list