[New-bugs-announce] [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 16:49:35 CEST 2011
New submission from mouad <mouadino at gmail.com>:
While working on issue #12157 [http://bugs.python.org/issue12157], I needed a function that make sure that an operation will not hang forever, for this reason i have create this helper function that support the context manager protocol and accept a timeout as an argument and raise an IOError if the operation didn't terminate before that timeout.
----------
components: Tests
files: operation_timeout.patch
keywords: patch
messages: 139075
nosy: mouad
priority: normal
severity: normal
status: open
title: Create a new helper function that enable to test that an operation don't hang more than a given timeout.
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file22467/operation_timeout.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12410>
_______________________________________
More information about the New-bugs-announce
mailing list