Python code written in 1998, how to improve/change it?
Steven D'Aprano
steve at REMOVETHIScyber.com.au
Fri Jan 20 22:03:08 EST 2006
On Fri, 20 Jan 2006 10:27:58 +1300, Carl Cerecke wrote:
> We want a goto.
>
> Unfortunately, this is about the only problem I can think of where gotos
> are useful. And for reasons well explained elsewhere, gotos are Not Good.
>
> I've solved this in a very efficient, but rather unpythonic way.
There is a module that does both GOTO and COMEFROM.
http://www.entrian.com/goto/
PLEASE don't use it in real code.
--
Steven.
More information about the Python-list
mailing list