This will fail on Windows (SIGALRM doesn't work there). Is that in the general documentation?

May not be worth it, but you can see a work-around here: http://stackoverflow.com/questions/8420422/python-windows-equivalent-of-sigalrm