Function stopping a function

Sorin Schwimmer sxn02 at yahoo.com
Thu Nov 22 23:30:57 EST 2007


Hi All,

We all know that a function can launch the execution
of another function. How can a function stop the
execution of another function?

For instance, lenghty_function() executes, when an
external event triggers cancel(), which is supposed to
abruptly stop lengthy_function(), reset some variables
and exit immediately.

Thanks for your advice
SxN


      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ



More information about the Python-list mailing list