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

Grzegorz Grzywacz report at bugs.python.org
Mon May 15 13:01:27 EDT 2017


Grzegorz Grzywacz added the comment:

I think this do not solve this issue yet. There is still posibillity that different tests/testrunners spawn threads and 'fool' testcase. I think we should not relay on `thread._count` value where it's possible. 

For master branch `thread._set_sentinel()` can be used. For 2.7 i don't know simple solution.

I would like to know your opinion it is worth changing?

----------

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


More information about the Python-bugs-list mailing list