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: 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>': 0.22; 'fraction': 0.24; 'connected': 0.24; 'versions': 0.24; '>': 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> <87r3wf8jy8.fsf@elektro.pacujo.net> <87ppbzp9qq.fsf@elektro.pacujo.net> <87wq6788op.fsf@gmail.com> From: Ian Kelly Date: Thu, 4 Dec 2014 15:17:48 -0700 Subject: Re: time.monotonic() roll over To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --001a11c36468f338b905096b56f0 Content-Type: text/plain; charset=UTF-8 On Thu, Dec 4, 2014 at 1:24 PM, Akira Li <4kir4.1i@gmail.com> wrote: > > Ian Kelly 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. --001a11c36468f338b905096b56f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Dec 4, 2014 at 1:24 PM, Akira Li <4kir4.1i@gmail.com> wrote:
>
> = Ian Kelly <ian.g.kelly@gmail.co= m> writes:
> > This seems like a lot of effort to unreliabl= y design around a problem that
> > will matter to only a tiny frac= tion of users.
>
> - people's computers are mostly on batte= ries (laptops, tablets,
> =C2=A0 smartphones) -- "suspended from= power management" use case
> - corporations's computations = are mostly virtualized -- possible
> =C2=A0 "ressurected", = "migrated" use case
>
> i.e., the opposite might be t= rue -- non-virtualized PCs connected to AC
> are (becoming) minority.=

By "tiny fraction of users" I was referring to peopl= e 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; n= ot people who suspend their systems or use VMs.

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