This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients docs@python, neologix, pitrou, r.david.murray, tim.peters
Date 2011-12-08.04:29:59
SpamBayes Score 5.7454836e-09
Marked as misclassified No
Message-id <20111208042958.A625F2500E6@webabinitio.net>
In-reply-to <CAH_1eM02EouZ-1X8dgZhEDbDWsPzzh6PxGb-HtdQUHSE4Wd88w@mail.gmail.com>
Content
On Wed, 07 Dec 2011 18:45:27 +0000, <report@bugs.python.org> wrote:
> _______________________________________
> diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
> --- a/Doc/library/threading.rst
> +++ b/Doc/library/threading.rst
> @@ -804,8 +804,9 @@
>        floating point number specifying a timeout for the operation in seconds
>        (or fractions thereof).
>  
> -      This method returns the internal flag on exit, so it will always return
> -      ``True`` except if a timeout is given and the operation times out.
> +      This method returns true if and only if the internal flag has been set to
> +      true by another thread, so it will always return ``True`` except if a
> +      timeout is given and the operation times out.

This seems to imply that if the current thread previously set the event,
the wait will return False, which is contradicted by the 'so' statement
(which appears to be correct).

--David
History
Date User Action Args
2011-12-08 04:30:01r.david.murraysetrecipients: + r.david.murray, tim.peters, pitrou, neologix, docs@python
2011-12-08 04:30:00r.david.murraylinkissue13502 messages
2011-12-08 04:30:00r.david.murraycreate