with timeout(...):

Paul Rubin http
Wed Mar 28 00:28:06 CEST 2007


Nick Craig-Wood <nick at craig-wood.com> writes:
> It could be made to work I'm sure by getting the interpreter to check
> for timeouts every few hundred bytecodes (like it does for thread
> switching).

Is there some reason not to use sigalarm for this?



More information about the Python-list mailing list