Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.125 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.75; '*S*': 0.00; 'subject:skip:t 10': 0.09; "wouldn't": 0.14; 'windows': 0.15; 'chatting': 0.16; 'rollovers': 0.16; 'wrote:': 0.18; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'about.': 0.31; 'entirely': 0.33; 'reader': 0.33; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'reflect': 0.36; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'according': 0.40; 'days': 0.60; 'details.': 0.61; 'more': 0.64; 'irrelevant': 0.84; 'rolls': 0.84; 'subject:over': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dvlwjC8uQSiaWZ4O8IhB5jt1NV2Q3NjnMyxKLd8V7s0=; b=oKSYP/drwxGOdcI4blJMA43ZCuziY84DnaAt15HxHTJjR9Iy7nH0dfRJT3wA29OwmD 6tqLG3zZib9VxetEQeHXlc3tU0Gfmjwp2z+mRlvCuC/QFFHrKpQ7PSSuOxK9So43/ql2 k4U2lzriHNsuYNyxJZMpL1WmAuwA4eyuKKMxEkpfweqnk6puuTjuBAgEIp+bY3YKK5Vk +nNSk+gudlvYDK/MOcTOjvklXGN0TPzC3vX7sYCPtOGaGwe6X48cQjrKiIlpVQrMxknQ URZOHldIk/mGwosiwkbTlRdMFh+ZCtpCivNUxlWqXLhCJ7A/9gKmHnvhS2mo67QX649p hpHw== MIME-Version: 1.0 X-Received: by 10.70.43.68 with SMTP id u4mr20427997pdl.6.1417709148505; Thu, 04 Dec 2014 08:05:48 -0800 (PST) In-Reply-To: <87vblr8lcw.fsf@elektro.pacujo.net> References: <54807cfd$0$2311$426a74cc@news.free.fr> <87vblr8lcw.fsf@elektro.pacujo.net> Date: Thu, 4 Dec 2014 09:05:48 -0700 Subject: Re: time.monotonic() roll over From: Ian Kelly To: Python Content-Type: multipart/alternative; boundary=047d7bd9018e310af80509662217 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417709156 news.xs4all.nl 2843 [2001:888:2000:d::a6]:41205 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4672 X-Received-Body-CRC: 60213313 Xref: csiph.com comp.lang.python:81915 --047d7bd9018e310af80509662217 Content-Type: text/plain; charset=UTF-8 On Dec 4, 2014 8:56 AM, "Marko Rauhamaa" wrote: > > "ast" : > > > Does any body know when time.monotonic() rolls over ? > > Never, according to the documentation you linked. > > Admittedly, the documentation confuses the reader by chatting about some > irrelevant internal Windows details. Not entirely irrelevant. The implication is that if you go more than 49 days without calling the function on old Windows systems, rollovers could be missed, which is good to know about. The result would still be monotonic, but it wouldn't accurately reflect the time elapsed. --047d7bd9018e310af80509662217 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Dec 4, 2014 8:56 AM, "Marko Rauhamaa" <marko@pacujo.net> wrote:
>
> "ast" <nomail@inval= id.com>:
>
> > Does any body know when time.monotonic() rolls over ?
>
> Never, according to the documentation you linked.
>
> Admittedly, the documentation confuses the reader by chatting about so= me
> irrelevant internal Windows details.

Not entirely irrelevant. The implication is that if you go m= ore than 49 days without calling the function on old Windows systems, rollo= vers could be missed, which is good to know about. The result would still b= e monotonic, but it wouldn't accurately reflect the time elapsed.

--047d7bd9018e310af80509662217--