[issue39169] TypeError: 'int' object is not callable if the signal handler is SIG_IGN

2021-03-04 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> Possible race condition between signal catching and signal.signal ___ Python tracker

[issue39169] TypeError: 'int' object is not callable if the signal handler is SIG_IGN

2020-01-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.9 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue39169] TypeError: 'int' object is not callable if the signal handler is SIG_IGN

2019-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +ethan.furman, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39169] TypeError: 'int' object is not callable if the signal handler is SIG_IGN

2019-12-30 Thread Ronald Li
New submission from Ronald Li : The attached script ign2ndsig.py demonstrates an attempted way to handle signals at most once and ignore any subsequent signals. SIGINT and SIGTERM are used in the demo. In Python 3.5, the subprocess would go into one of the "except KeyboardInterrupt:" or