[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

STINNER Victor report at bugs.python.org
Wed Feb 12 01:43:32 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue20564>
_______________________________________


More information about the Python-bugs-list mailing list