[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Function stopping a function
From:       Sorin Schwimmer <sxn02 () yahoo ! com>
Date:       2007-11-23 4:30:57
Message-ID: 258046.59201.qm () web56006 ! mail ! re3 ! yahoo ! com
[Download RAW message or body]

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
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic