[New-bugs-announce] [issue12410] Create a new helper function that enable to test that an operation don't hang more than a given timeout.
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.
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>
More information about the New-bugs-announce