goto statement

Sergei Organov osv at javad.ru
Thu Apr 21 10:53:19 EDT 2005


Grant Edwards <grante at visi.com> writes:

> On 2005-04-21, Sergei Organov <osv at javad.ru> wrote:
> 
> > Well, I'm writing for embedded realtime systems in C/C++ and
> > have never encountered a single need to use goto.
> 
> I have encountered situations in C programs where the best
> thing to use was a goto.  Those situations have always been
> handled beutifully by a "raise" in Python.

setjmp/longjump?

-- 
Sergei.



More information about the Python-list mailing list