[issue14222] Use time.steady() to implement timeout

Raymond Hettinger report at bugs.python.org
Thu Apr 5 04:58:47 CEST 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Why do you think monotonic time is needed for the Queue module?  If time.time() goes backwards for some reason, the only consequence is that the timeouts take longer to cross the timeout boundard.  On the other hand, it monotonic is used, then time won't go backwards but it won't go forwards either, so the consequence is the same.

AFAICT, this patch doesn't fix any bug and doesn't make the module better in any observable way.

----------

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


More information about the Python-bugs-list mailing list