killing thread ?

Paul Rubin phr-n2003b at NOSPAMnightsong.com
Fri Jan 24 10:52:08 EST 2003


Peter Hansen <peter at engcorp.com> writes:
> If you're worried about some kind of denial of service type
> thing with code written by someone else: you're out of luck.
> Don't use Python.  (Or, better yet, get over the worry and just
> accept this possibility.)

Wha?  Python provides the rexec and bastion modules specifically to
have a way to run hostile code in a sandbox.  So what kind of advice
is "don't use Python"?  If sandboxed code can be prevented from
accessing sensitive data or doing i/o, but can't be prevented from
looping unkillably, that's a bug in Python.




More information about the Python-list mailing list