[New-bugs-announce] [issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

STINNER Victor report at bugs.python.org
Thu Apr 7 23:54:54 CEST 2011


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

I added recently a --timeout option to regrtest.py: dump the traceback of all threads and exit if a test takes more than TIMEOUT seconds (issue #11727). But my implementation was not correct: the timeout is applied on the whole file, not on a single function. Attached patch fixes this issue.

----------
components: Tests
files: regrtest_timeout.patch
keywords: patch
messages: 133262
nosy: haypo
priority: normal
severity: normal
status: open
title: regrtest --timeout: apply the timeout on a function, not on the whole file
versions: Python 3.3
Added file: http://bugs.python.org/file21573/regrtest_timeout.patch

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


More information about the New-bugs-announce mailing list