STINNER Victor added the comment: To make test_lock_acquire_interruption and test_rlock_acquire_interruption more reliable, the test should maybe run a fresh Python process to get a well known number of threads. Some Python modules create C threads like Tkinter. faulthandler creates also an hiding C thread, but it is supposed to ignore all signals (it calls pthread_sigmask).
@Remi: Can you please test interrupt_lock_acquire.py? It should be the same than the unit test, but in a fresh Python process. ---------- Added file: http://bugs.python.org/file34054/interrupt_lock_acquire.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20564> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com