Best Way To Bound Function Execution Time

Paul Rubin no.email at nospam.invalid
Sat Dec 31 18:47:36 EST 2011


Tim Daneliuk <tundra at tundraware.com> writes:
> Is there some standard Pythonic way to bound how long a function
> call can run, after which time it is forcefully terminated?

Basically, run it in a separate process and use os.kill to kill it.



More information about the Python-list mailing list