[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved ___ Python tracker ___ ___

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread dd
dd added the comment: Yeah, I'm stupid. I named my file signal.py… Sorry for the trouble and thanks for your help! -- resolution: -> not a bug status: open -> closed ___ Python tracker

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Can you import _signal? And what's the output of dir(_signal)? Another possibility is that there's another signal.py in the search path. Could you also paste the output of repr(signal)? By the way, here on Arch Linux, both signal.SIGINT and signal.SIGALRM are

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread dd
New submission from dd: When I try to run the example at the very end of the signal documentation page [https://docs.python.org/3/library/signal.html#example] I get the error from the title: AttributeError: module 'signal' has no attribute 'SIGALRM' The same thing happens for SIGINT, which