Zhongyue Luo added the comment:
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.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com