[Python-Dev] Sandboxing Python
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Mar 4 23:00:54 CET 2012
Mark Shannon wrote:
> You can't solve the too much time, without solving the halting problem,
> but you can make sure all code is interruptable (i.e. Cntrl-C works).
If you can arrange for Ctrl-C to interrupt the process cleanly,
then (at least on Unix) you can arrange to receive a signal
after a timeout and recover cleanly from that as well..
--
Greg
More information about the Python-Dev
mailing list