Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.041 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'subject:skip:t 10': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'caveats': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'it;': 0.16; 'targeting': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'platform,': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'dec': 0.30; 'nature': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'fri,': 0.33; "can't": 0.35; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'issue': 0.38; 'anything': 0.39; "you're": 0.61; 'guarantee': 0.63; 'real': 0.63; 'different': 0.65; 'complaint': 0.84; 'subject:over': 0.84; 'to:none': 0.92 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:cc :content-type; bh=SliNdFTB/+ON9jf74TWIbb75l7irw1oFHqCHM0NZ5NQ=; b=ul2cVhagl92mCJyiJR0Gqi1orVfTdjQnIoTnSLHa6oeEwrJVoS+ryfPJcAOyMo7JbS iIHMRZ7NEc5N0jzKrJjEpXcoG3pkPxw5uZ0nTjgveu4JnlXMV6EWFhGkAF4cSBUO/cLG 029YgftIxklB76408L8ZpwnpSGgbSZQM7ZqA9JQHyvvvOp3pLFe4G2jXoJCCApfVQ1vt s/Y3PN4K6rRMcj6JqebNYReXrJWKMBDFEDozgLWkJTzbNtp2LP90EyYEdaHpiAaFUOWU woUv9hvi7DfjCOPhNAyj49eo0NwvbXVlTTWbFTptJJc2xfxWR8u/KK1+xtR0gHKtmJi4 q99Q== MIME-Version: 1.0 X-Received: by 10.50.23.48 with SMTP id j16mr54424595igf.34.1417723364678; Thu, 04 Dec 2014 12:02:44 -0800 (PST) In-Reply-To: <87h9xbp851.fsf@elektro.pacujo.net> References: <54807cfd$0$2311$426a74cc@news.free.fr> <87vblr8lcw.fsf@elektro.pacujo.net> <87r3wf8jy8.fsf@elektro.pacujo.net> <87ppbzp9qq.fsf@elektro.pacujo.net> <87h9xbp851.fsf@elektro.pacujo.net> Date: Fri, 5 Dec 2014 07:02:44 +1100 Subject: Re: time.monotonic() roll over From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417723367 news.xs4all.nl 2886 [2001:888:2000:d::a6]:58106 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81940 On Fri, Dec 5, 2014 at 5:44 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> ... what you said There's no way to guarantee to keep calling the >> function. You have to depend on upstream. > > The caveats I listed are real concerns for the modern-day programmer. > However, they are of a different nature than the complaint against > time.monotonic(). But they're also reasons you can't have Python code around the problem. Anyway, it's only an issue for one platform, and only for some versions of it; basically, if you're targeting anything other than Windows XP, you should be able to use time.monotonic() without concerns. ChrisA