![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
R. David Murray added the comment: This is more of a documentation issue than a code issue. To be mathematically precise, the text and error message should read "a non-negative value". Alternatively the text and error could be changed to report that timeout may not be negative, which would probably be clearer. (Note that timeout is a float value, and thus the proposed code change would only break code, it would not change the functionality in any significant way.) ---------- assignee: -> docs@python components: +Documentation nosy: +docs@python, r.david.murray title: Queue: zero should not be accepted as timeout value -> Queue: document that zero is accepted as timeout value versions: +Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18676> _______________________________________