[Zope] (newbie) External Method continues to run.

Dieter Maurer dieter@handshake.de
Mon, 6 Jan 2003 19:40:25 +0100


working4aliving wrote at 2003-1-3 16:17 -0500:
 > I'm validating the resolution of url's supplied by customers through the
 > following...
 > (testing w/ 7000 records right now)
 > my DTML method calls a python script that calls a zsql method.  It then
 > passes the result (row by row)
 > to a hacked version of webclient.py, and my result gets passed back (1 or
 > 0).  I list the results (failures) in a resulting method.
 > If I cancel the request (via the stop button on the browser)  my logging
 > shows the external method contining to run.
 > Realizing that it's server side, it's not necessarily wrong, but if anyone
 > can give me an explaination on why (or more like
 > how to stop it), that'd be great.
You may search "comp.lang.python" or the mailing list archive.

   You are interested in why threads cannot be aborted/stopped/canceled
   in Python.


Dieter