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 zyluo
Recipients docs@python, r.david.murray, zyluo
Date 2013-08-07.21:47:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375912048.13.0.872004246723.issue18676@psf.upfronthosting.co.za>
In-reply-to
Content
David,

How about like below?

  elif timeout < sys.float_info.epsilon:
     raise ValueError("'timeout' must be a positive number")

The docstring has been there for quite a while and IMHO it just doesn't make sense passing 0.0 as a timeout value.
History
Date User Action Args
2013-08-07 21:47:28zyluosetrecipients: + zyluo, r.david.murray, docs@python
2013-08-07 21:47:28zyluosetmessageid: <1375912048.13.0.872004246723.issue18676@psf.upfronthosting.co.za>
2013-08-07 21:47:28zyluolinkissue18676 messages
2013-08-07 21:47:28zyluocreate