Andre Merzky added the comment: I also see the problem on 2.7.11, on MacOS, but with significantly lower frequency. I can't tell if that is due to changes in Python, the different architecture, or whatever...
$ python -V Python 2.7.11 $ uname -a Darwin cameo.local 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64 $ while true; do i=$((i+1)); echo -n "$i: "; python t.py || break; done 1: except: caught sigusr2 2: except: caught sigusr2 3: except: caught sigusr2 ... 134: except: caught sigusr2 Traceback (most recent call last): File "t.py", line 30, in <module> print 'unexcepted' File "t.py", line 14, in sigusr2_handler raise RuntimeError('caught sigusr2') RuntimeError: caught sigusr2 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27889> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com