Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'static': 0.04; 'subject:Python': 0.06; 'elegant': 0.07; 'solution,': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'encodings,': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'posted,': 0.16; 'roy': 0.16; 'utc,': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'example': 0.22; 'cc:addr:python.org': 0.22; 'question': 0.24; 'cc:2**0': 0.24; 'least': 0.26; '(for': 0.26; 'asking': 0.27; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; 'bunch': 0.31; 'helpful.': 0.31; 'stuff': 0.32; 'text': 0.33; 'totally': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'agree': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'wrong': 0.37; 'ben': 0.38; 'work?': 0.38; 'needed': 0.38; 'pm,': 0.38; 'even': 0.60; 'simple,': 0.60; 'hours': 0.66; 'here': 0.66; 'technically': 0.84; 'twelve': 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=Vh+r/e6l34XkCpNDFxfMwcoIlCkl3D0Vwtd6A9NF4r4=; b=wUQ1KZVHuG4nA8KvHG34SdkJqzU4ZiiNUgxtFBLwSp1cZcdIuHOcdDuph+35Xq3iI0 mf4haF+GohjjfqCZY6Hot9Dx88C6HCsIYj0vF+9kdZxOyrWTkGg2wmw4WEt+CCukB57U DUEJGhPyYsc57H8zGImVcmQ1ttC9499HkGJordEaCqIZxQH+tiWqkMDLDz0rizls3MRz mF6+4guxylf+zh2+hu+vHP/WUWFQZlwCR+GgabWMkWObyDq57OManIcpYeg392OGQEPL ZafXke9tegDJ22ooo4LqaqRMOWBUPdAd6RmdY6e0MzrRlpirWD3LzbMaDHaXlO0SzLTt o0aA== MIME-Version: 1.0 X-Received: by 10.66.163.36 with SMTP id yf4mr924607pab.67.1389238973460; Wed, 08 Jan 2014 19:42:53 -0800 (PST) In-Reply-To: <7wvbxteskh.fsf@benfinney.id.au> References: <78d91$52cbf8e9$541826b9$29485@cache1.tilbu1.nb.home.nl> <4b702$52cc262e$541826b9$22985@cache80.multikabel.net> <4cbf$52cc2e82$541826b9$11761@cache70.multikabel.net> <686$52cd4640$541826b9$21896@cache1.tilbu1.nb.home.nl> <7wvbxteskh.fsf@benfinney.id.au> Date: Thu, 9 Jan 2014 14:42:53 +1100 Subject: Re: the Gravity of Python 2 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389238983 news.xs4all.nl 2838 [2001:888:2000:d::a6]:57573 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63560 On Thu, Jan 9, 2014 at 2:34 PM, Ben Finney wrote: > [ a bunch of stuff that I totally agree with ] No response needed here :) So I was wrong on the specific example of .today(), but asking the question the other way is at least helpful. Maybe the best solution is exactly what Roy already posted, or maybe there's some other way to achieve that. In any case, there is a solution, albeit not as clean as I would have liked. > With time zones, as with text encodings, there is a single technically > elegant solution (for text: Unicode; for time zones: twelve simple, > static zones that never change) Twelve or twenty-four? Or are you thinking we should all be an even number of hours away from UTC, which would also work? ChrisA