
31 Jan
2003
31 Jan
'03
4:21 p.m.
David Goodger goodger@python.org writes:
This syntax could be used to remove a recent wart, making generators explicit:
def g as generator: suite
Of course, it would be a syntax error if the generator suite didn't contain a "yield" statement.
You have to talk faster than that to convince me this is a wart.
Cheers, M.
--
Finding a needle in a haystack is a lot easier if you burn down
the haystack and scan the ashes with a metal detector.
-- the Silicon Valley Tarot (another one nicked from David Rush)