[issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.

mouad report at bugs.python.org
Sat Jun 25 18:37:24 CEST 2011


mouad <mouadino at gmail.com> added the comment:

Thanks for the instructive feedback :)

I totally agree i guess there is a lot of issues that i didn't think of :-(, my first thinking was to use "Pool.join" timeout argument but it was removed in 3.2 (by the way i didn't find the issue or the rational that lead to this change).

And now that i know about "faulthandler" module i guess that will make also my life easier :), i will rewrite the patch in the issue #12157 to not use any *fancy* way to check if it will hang.

cheers,

----------

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


More information about the Python-bugs-list mailing list