From 1ed86774b510bbb1dae93cb59151ce2d5e3eed66 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 21 Mar 2018 09:23:54 +0545 Subject: [PATCH] issue #156: document select exception --- docs/howitworks.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/howitworks.rst b/docs/howitworks.rst index 7d8d109b..30a6bd40 100644 --- a/docs/howitworks.rst +++ b/docs/howitworks.rst @@ -934,6 +934,10 @@ receive items in the order they are requested, as they become available. for timeout, or a write from :py:meth:`Latch.put` or :py:meth:`Latch.close`. + If :py:func:`select.select` throws an exception, the exception must be + caught and re-raised only after some of the wake steps below have + completed. + **5. Wake, Non-empty** On wake `lock` is re-acquired, the socket is removed from `sleeping` after noting its index, and :py:class:`TimeoutError` is thrown if `waking`