New submission from STINNER Victor: While reading the patch attached to #19170, I saw that telnetlib uses time.time() to compute a timeout. This is wrong: the system clock may jump forward or backward (ex: summer/winter time, NTP adjust, manual clock change by the administrator, etc.).
time.monotonic() should be used instead. I will work on a patch when #19170 will be fixed (just to avoid conflicts). ---------- messages: 200834 nosy: haypo, neologix priority: normal severity: normal status: open title: telnetlib: time.monotonic() should be used instead of time.time() for timeout versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19339> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com