GOTO (was Re: Appeal for python developers)

Andrew Dalke dalke at dalkescientific.com
Sun Mar 6 16:35:19 EST 2005


Paul McGuire wrote:
> At the risk of beating this into the Pythonic ground, here is a
> generator version which collapses the original nested loop into a
> single loop, so that break works just fine:

Indeed.  For some things I'm still in the pre-generator days of
Python.  If I worked at it I think I could come up with an example
that wouldn't be so easy to turn into an iterator, but that would
be not only be beating it into the ground but doing a clog dance
on top.

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list