[Python-Dev] signal.alarm(3) in trunk test_socketserver.py

Trent Nelson tnelson at onresolve.com
Wed Mar 5 03:29:27 CET 2008


r61099 added the following to trunk/Lib/test/test_socketserver.py:
 if __name__ == "__main__":
 test_main()
+ signal.alarm(3) # Shutdown shouldn't take more than 3 seconds.
....which breaks platforms that don't have signal.alarm, like, say, !unix ;-)
 Trent.
--
http://www.onresolve.com


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /