[issue12459] time.sleep(-1.0) behaviour

Antoine Pitrou report at bugs.python.org
Fri Jul 1 11:34:21 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

I agree with the ValueError suggestion. Since it would slightly change existing behaviour, it can only be done in a feature release (3.3).

According to Google Code Search, deliberate uses of sleep(-1) are almost non-existent:
http://www.google.com/codesearch#search/&q=%22sleep%28-1%29%22%20lang:python&type=cs

----------
components: +Extension Modules
nosy: +pitrou
stage:  -> patch review
versions: +Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12459>
_______________________________________


More information about the Python-bugs-list mailing list