Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81953

Re: time.monotonic() roll over

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'anyway.': 0.05; 'referring': 0.07; "people's": 0.09; 'subject:skip:t 10': 0.09; 'python': 0.11; 'mostly': 0.14; "wouldn't": 0.14; 'windows': 0.15; 'i.e.,': 0.16; 'opposite': 0.16; 'suspend': 0.16; 'virtualized': 0.16; 'wrote:': 0.18; 'users.': 0.18; 'thu,': 0.19; 'seems': 0.21; 'code,': 0.22; 'email addr:gmail.com&gt;': 0.22; 'fraction': 0.24; 'connected': 0.24; 'versions': 0.24; '&gt;': 0.26; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'concern': 0.31; 'writes:': 0.31; 'running': 0.33; 'cases': 0.33; 'older': 0.33; 'problem': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'effort': 0.37; 'clear': 0.37; 'skip:& 10': 0.38; 'stopped': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'ian': 0.60; 'matter': 0.61; 'simply': 0.61; 'skip:n 10': 0.64; 'computers': 0.72; 'increasing': 0.74; 'power': 0.76; 'subject:over': 0.84; 'suspended,': 0.84; 'shocked': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6SSPZRHNhV4PGGy7WTkUzYZYtAY2duNgBQ9PapM2pI4=; b=VGfoHsEq4xOe1bQCVdACNN31JyUJqkD5emDqMytCKGaZSS5R/l5wZacI/XzfboLC1H 7FOdZhDMkgCoZgRjIRWZy2OFba8kHXWvc2yjeW6UhXpd+qY/wQICAJEV3DZhlVWNusl/ /qM7dM0kaTBQgMII9VuKHqyx20gIGmFvJVVwS2aZ7DqKUzjiMvpc7YE0Im0gWYCuDvN3 IOnCmofYWy8boUZUEvA8MFZyEP+zJ7CXNd2YVhYgRVZRLSb1EM/N/GKy+ccK6xVUtrg7 Wm+3kx5+6rWxfW3zlSnRBLflalpdtGJ8+9QyWR+3pM2TfTgvPLRK+h25zFJQb2rBjRb6 qRJg==
X-Received by 10.70.102.234 with SMTP id fr10mr22193339pdb.145.1417731508482; Thu, 04 Dec 2014 14:18:28 -0800 (PST)
MIME-Version 1.0
In-Reply-To <87wq6788op.fsf@gmail.com>
References <54807cfd$0$2311$426a74cc@news.free.fr> <87vblr8lcw.fsf@elektro.pacujo.net> <mailman.16564.1417709156.18130.python-list@python.org> <87r3wf8jy8.fsf@elektro.pacujo.net> <mailman.16566.1417710430.18130.python-list@python.org> <87ppbzp9qq.fsf@elektro.pacujo.net> <CALwzidn=g4+Rm0SJtSoXyA_5-QtgPBCNYOQ-kY9FYNaX__dJmw@mail.gmail.com> <87wq6788op.fsf@gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Thu, 4 Dec 2014 15:17:48 -0700
Subject Re: time.monotonic() roll over
To Python <python-list@python.org>
Content-Type multipart/alternative; boundary=001a11c36468f338b905096b56f0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16591.1417731511.18130.python-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417731511 news.xs4all.nl 2875 [2001:888:2000:d::a6]:43038
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81953

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Dec 4, 2014 at 1:24 PM, Akira Li <4kir4.1i@gmail.com> wrote:
>
> Ian Kelly <ian.g.kelly@gmail.com> writes:
> > This seems like a lot of effort to unreliably design around a problem
that
> > will matter to only a tiny fraction of users.
>
> - people's computers are mostly on batteries (laptops, tablets,
>   smartphones) -- "suspended from power management" use case
> - corporations's computations are mostly virtualized -- possible
>   "ressurected", "migrated" use case
>
> i.e., the opposite might be true -- non-virtualized PCs connected to AC
> are (becoming) minority.

By "tiny fraction of users" I was referring to people who a) work with
Python 3.3+, b) use time.monotonic in their code, and c) possibly have said
code running on versions of Windows older than Vista; not people who
suspend their systems or use VMs.

It's not clear to me whether those cases are relevant to the rollover
concern anyway. I wouldn't be shocked if the GetTickCount() function simply
stopped increasing while the system is suspended, since after all it's not
"ticking" during that time.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

time.monotonic() roll over "ast" <nomail@invalid.com> - 2014-12-04 16:25 +0100
  Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 17:50 +0200
    Re: time.monotonic() roll over Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-04 09:05 -0700
      Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 18:21 +0200
        Re: time.monotonic() roll over Chris Angelico <rosuav@gmail.com> - 2014-12-05 03:27 +1100
          Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 20:09 +0200
            Re: time.monotonic() roll over Chris Angelico <rosuav@gmail.com> - 2014-12-05 05:29 +1100
              Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 20:44 +0200
                Re: time.monotonic() roll over Chris Angelico <rosuav@gmail.com> - 2014-12-05 07:02 +1100
            Re: time.monotonic() roll over Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-04 12:29 -0700
            Re: time.monotonic() roll over Akira Li <4kir4.1i@gmail.com> - 2014-12-04 23:24 +0300
            Re: time.monotonic() roll over Chris Angelico <rosuav@gmail.com> - 2014-12-05 07:33 +1100
              Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 22:51 +0200
            Re: time.monotonic() roll over Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-04 15:17 -0700
              Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-05 00:44 +0200
                Re: time.monotonic() roll over Ian Kelly <ian.g.kelly@gmail.com> - 2014-12-05 10:04 -0700
                Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-05 20:48 +0200
            Re: time.monotonic() roll over Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-05 11:39 +1100
              Re: time.monotonic() roll over Dave Angel <davea@davea.name> - 2014-12-04 20:21 -0500
                Re: time.monotonic() roll over Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-05 13:54 +1100
                Re: time.monotonic() roll over Dave Angel <davea@davea.name> - 2014-12-05 00:29 -0500
                Re: time.monotonic() roll over Lele Gaifax <lele@metapensiero.it> - 2014-12-05 08:56 +0100
                Re: time.monotonic() roll over Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-05 21:09 +1100
                Re: time.monotonic() roll over Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-05 12:12 -0500
              Re: time.monotonic() roll over Marko Rauhamaa <marko@pacujo.net> - 2014-12-05 08:17 +0200
                Re: time.monotonic() roll over Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-05 12:31 -0500
              Re: time.monotonic() roll over Akira Li <4kir4.1i@gmail.com> - 2014-12-05 12:48 +0300
    Re: time.monotonic() roll over Chris Angelico <rosuav@gmail.com> - 2014-12-05 03:12 +1100
    Re: time.monotonic() roll over random832@fastmail.us - 2014-12-04 11:51 -0500
  Re: time.monotonic() roll over Nobody <nobody@nowhere.invalid> - 2014-12-05 00:54 +0000

csiph-web