New submission from Ram Vallury: 'module' object has no attribute 'SIGALRM'
SIGALRM is not identified in windows, python 2.7. There is no explicit mention of this in documentation as well. === $ python Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> def handler(signum, frame): ... print 'Signal handler called with signal', signum ... raise IOError("Couldn't open device!") ... >>> signal.signal(signal.SIGALRM, handler) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'SIGALRM' >>> ==== ---------- components: Windows messages: 272420 nosy: paul.moore, rvallury, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: 'module' object has no attribute 'SIGALRM' - singal module type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27735> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com