[issue30357] test_thread.test_save_exception_state_on_error(): Unhandled exception in thread: AMD64 Debian root 2.7

Serhiy Storchaka report at bugs.python.org
Mon May 15 02:04:34 EDT 2017


Serhiy Storchaka added the comment:

The solution in PR 1583 looks unsafe to me. If some threads hang the loop `while self.thread_count != thread._count()` will never finished. If some dangling threads created in other tests or by regrtest itself are finished during running the test_thread test, that loop will never finished too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30357>
_______________________________________


More information about the Python-bugs-list mailing list