Is there a timeout mechanism in Sage or Python that allows me to kill or raise an exception on a command that exceeds some time threshold ? Thanks ,
For example try: result = timeout(unpredictablefunction, 50) except TimeoutException: print 'terminated unpredictablefunction because it exceeds 50 sec timeout threshold) -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
