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.074 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'yeah,': 0.09; 'cc:addr :python-list': 0.11; '-1,': 0.16; '-1.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'closer': 0.31; 'cases': 0.33; 'subject: (': 0.35; 'common': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'are,': 0.36; 'two': 0.37; 'pm,': 0.38; 'negative': 0.60; 'most': 0.60; 'mar': 0.68; 'day': 0.76; 'numbers:': 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=7O6RUzfjk/qP2Z8FSkpX9o3gctvPDMSYgmbma1KCQBY=; b=HR16Dfbf89ICShNH6f58kdMsXppk7HgKVAXO60GlGNH98DhWwVr/anD7YtXDsE0FAf 0npRf5TZQUNSTJBVZjCNQwd2j1JKnFkL6qtHqehVMIN6ZNvjz2eIl+dHl4CtCcCY1yVq jvO/t6aoXfbiuodbouXUItrVlgz1xMlbUc1/8yqS+VtdbAcVaNIn23fTbeGpQhF14jZi Ix6DMa3AGCLwJlu1RyoUPK4FYtSF0tiSxbOni+LtkcCTDXkENmMj6kf3m7Ein4M5xGVo doHvGb3L/3FpXjzc4wPgUosVPW3WY/m6HJ4DDOEIYdB+mkfoIXbn2Lp3jd7ylH6/Csoy +cZg== MIME-Version: 1.0 X-Received: by 10.66.181.70 with SMTP id du6mr1469897pac.23.1395922830356; Thu, 27 Mar 2014 05:20:30 -0700 (PDT) In-Reply-To: References: <53336df8$0$29994$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 27 Mar 2014 23:20:30 +1100 Subject: Re: YADTR (Yet Another DateTime Rant) From: Chris Angelico Cc: Python 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395922834 news.xs4all.nl 2884 [2001:888:2000:d::a6]:43657 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69187 On Thu, Mar 27, 2014 at 10:56 PM, Skip Montanaro wrote: > There are, > as I see it, two common cases where t is negative: > > -1 day < t < 0 > > and > > t <= -1 day There are two types of negative numbers: Those closer to zero than -1, and those not closer to zero than -1. Yeah, I think those are the most common cases. :) ChrisA