On Mar 7, 9:43 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Mar 7, 11:12 am, [EMAIL PROTECTED] wrote: > > > I have various bits of code I want to interpret and run at runtime in > > eval ... > > Check out these two recipes: > > - Using signals:http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307871 > > - Using threads:http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/483752 > > the second can't interrupt code that > doesn't release the GIL and doesn't actually kill the function after > the timeout.
Mine doesn't either, plus you need a C compiler. I also learned today that one of the import statements doesn't find the dll on Py <3.0. Do you have a process kill ability? That's another way to do it. -- http://mail.python.org/mailman/listinfo/python-list