[Python-Dev] [PEP204] Range Literals
Paul Prescod
paul@prescod.net
Sun, 16 Jul 2000 15:05:53 -0500
Peter Schneider-Kamp wrote:
>
> ...
>
> I thought that generators are also useful for stuff like:
>
> even = (0:sys.maxint:2)
> first20even = even[:20]
Yes but I doubt Guido would take that usage scenariou very seriously.
He's been fairly disinterested in lazy behavior for a long time.
--
Paul Prescod - Not encumbered by corporate consensus
It's difficult to extract sense from strings, but they're the only
communication coin we can count on.
- http://www.cs.yale.edu/~perlis-alan/quotes.html