with timeout(...):

Klaas mike.klaas at gmail.com
Wed Mar 28 06:34:09 CEST 2007

On Mar 27, 3:28 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> Nick Craig-Wood <n... 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?

 * doesn't work with threads
 * requires global state/handler
 * cross-platform?


More information about the Python-list mailing list