Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'apps,': 0.07; 'plenty': 0.07; "people's": 0.09; 'subject:skip:t 10': 0.09; 'cc:addr :python-list': 0.11; 'mostly': 0.14; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'i.e.,': 0.16; 'opposite': 0.16; 'partly': 0.16; 'suspend': 0.16; 'virtualized': 0.16; 'proprietary': 0.16; 'wrote:': 0.18; 'users.': 0.18; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'fraction': 0.24; 'instance,': 0.24; 'connected': 0.24; 'cc:2**0': 0.24; 'purposes': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'thus': 0.29; "doesn't": 0.30; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; '(usually': 0.31; 'terminate': 0.31; 'running': 0.33; 'fri,': 0.33; 'problem': 0.35; "can't": 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'done': 0.36; 'possible': 0.36; 'effort': 0.37; 'skip:o 20': 0.38; 'massive': 0.38; 'either': 0.39; 'even': 0.60; 'matter': 0.61; 'you.': 0.62; 'save': 0.62; 'protection': 0.63; 'skip:n 10': 0.64; 'more': 0.64; '3-4': 0.68; 'computers': 0.72; 'power': 0.76; 'subject:over': 0.84; 'dozen': 0.91; '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=heHbURxVjB62er73RxB50GEL2TaqmUsMTiSZWPMHHQs=; b=DUwMFmzXfLEgl0FXVHXdtU9PpvvsSRqqILrqyLYKKy8xdgvI3mE2bzXskdb6Btl8zy c4h78YguSSxxsE7aPqvIzIg3zmlnRKi15dvp/oaU8qjlG9pPTVQZ8soEelzFxd3BHtOH DKHKmufdPk43x4yX5SdjpyH2oAH4vLy3INC9W9x4JTZ9zt2Rg87OaiYyEBgJKCKVt0Bi i/odrZ8Jg8EKmC8a1DQs7BfmWDw6R3GBkn4jFipvIKWKEPa/I7QIw2wn47r/7OrdapLB RbghhEILVPo9tuf764Tm6GZ3pHrdRqt4Z9JX+4pxwIOaZv4by/4oTCG+9QXmTU109XC+ XoYg== MIME-Version: 1.0 X-Received: by 10.50.79.135 with SMTP id j7mr15443404igx.14.1417725209801; Thu, 04 Dec 2014 12:33:29 -0800 (PST) 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> Date: Fri, 5 Dec 2014 07:33:29 +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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417725219 news.xs4all.nl 2909 [2001:888:2000:d::a6]:49022 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81947 On Fri, Dec 5, 2014 at 7:24 AM, Akira Li <4kir4.1i@gmail.com> wrote: >> 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. That's a massive over-simplification, of course, but given that my current desktop computer is running a dozen or so VMs for various purposes (usually not more than 3-4 concurrently), I can't disagree with you. However, there still are plenty of computers that are always either fully running, or fully shut down; just because people _can_ suspend with applications running doesn't mean they _will_. (Quite a few of my VMs, for instance, do not get saved/suspended - I shut them down whenever I'm done with them. Even when I do suspend a VM, I often terminate applications in it, and just use suspension to save having to boot the OS every time. But that's partly because those VMs are the ones running Windows for specific proprietary apps, and thus are coping with the vagaries of those apps.) In any case, it's not at all a problem to have the protection on systems that won't actually need it. Much better than lacking the protection on a system that does. ChrisA