New submission from STINNER Victor <victor.stin...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11800>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to