Possible Duplicate:
How can you limit the allowed execution time of specific methods in the python version of Google App Engine?
When I run the following code in Eclipse, nothing happens, as expected:
import signal
def signal_handler(signum, frame):
raise Exception, "Timed out!"
signal.signal(signal.SIGALRM, signal_handler)
However, when I try to run it using GAE, I get the error:
signal.signal(signal.SIGALRM, signal_handler)
AttributeError: 'module' object has no attribute 'signal'
My guess is that GAE is running a different installment of Python than Eclipse, that may have certain modules removed/blocked because google has that power.
I got the code from: How to limit execution time of a function call in Python
Help? Thanks