ANNOUNCE: 'goto' for Python
Roger Binns
rogerb at rogerbinns.com
Sat Apr 3 01:54:55 EST 2004
Richie Hindle wrote:
> [Bill]
> > Can you explain to me why you need comefrom? Couldn't you replace
> > "label.failed" with "goto cleanup"? Thanks.
>
> You don't strictly need comefrom, but then you don't strictly need goto
> either. Use whatever control flow construct fits the problem you're
> trying to solve.
http://www.fortran.com/come_from.html
http://c2.com/cgi/wiki?ComeFrom
Needless to say, Perl has already been there :-)
http://aspn.activestate.com/ASPN/CodeDoc/Acme-ComeFrom/ComeFrom.html
Roger
More information about the Python-list
mailing list