perl2py - In progress! :-)

John Aycock aycock at cpsc.ucalgary.ca
Thu Jul 26 12:32:33 EDT 2001


On Thu, Jul 26, 2001 at 11:26:28AM -0500, Skip Montanaro wrote:
> Raise and catch exceptions at the appropriate places?
> 
>     raise == goto
>     except == target of goto

Unfortunately that doesn't work in the general case, only when the goto
is used in a "structured" fashion.  There are some papers on automatic
removal of gotos; I can dig up the references if anyone wants them.

John




More information about the Python-list mailing list