Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; '*not*': 0.07; 'agree,': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'roy': 0.16; 'simple.': 0.16; 'time.time()': 0.16; 'timestamp': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'please?': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'subject:the': 0.34; 'received:google.com': 0.35; 'pm,': 0.38; 'does': 0.39; 'sure': 0.39; 'offer': 0.62; 'our': 0.64; 'ethan': 0.84; 'furman': 0.84; 'increasingly': 0.84; 'scratch,': 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=xorvcCHms20lO+YVA3o1phOPpiAyKZtKXKA+90Pl6mQ=; b=e9NfIT7BazATsJ3i835N9VyzVio4T0u6FVt7x1Pt99X8Dr7Wc3jzY9T/pTc9kLODsr EWZoV1vTHK1AfKUE0deLRpHP1UjIpfzha5iuBzjFojzlGjzUbgLDUN+FYa7CsEt4WGzd fdN/Lhn+c035DleLGomLiNupkY78AC7C/a8SvEuA8P296g+EpfT5M0h1Xne1HzLr+0RL ebRqAxDA1JIOUSMPUmSTd1EP4RoHdaf3CoGeWUAWgkObFFOG6Jwj4X1ykyM561sMHlkG ckmPd2zUMuJjG49P+hlUvnSmRVEyHGddZxRCqVn7vUCr83oEsuacKPkbav2q+HsfxfgQ CJbg== MIME-Version: 1.0 X-Received: by 10.68.98.3 with SMTP id ee3mr1715546pbb.31.1389249273482; Wed, 08 Jan 2014 22:34:33 -0800 (PST) In-Reply-To: <52CE3416.9090501@stoneleaf.us> 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> <52CE3416.9090501@stoneleaf.us> Date: Thu, 9 Jan 2014 17:34:33 +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: 1389249276 news.xs4all.nl 2842 [2001:888:2000:d::a6]:38011 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63575 On Thu, Jan 9, 2014 at 4:31 PM, Ethan Furman wrote: > On 01/08/2014 08:34 PM, Chris Angelico wrote: >> >> This is simple: >> >>>>> time.time() >> >> 1389242048.669482 > > > I agree, and I'm sure Roy also agrees, that that is simple. However, that > is *not* a timezone-aware datetime. The point of having the datetime module > is so we all don't have to reroll our own from scratch, and yet this > particular (and increasingly important) operation wasn't intuitive nor easy. What exactly does datetime offer you that a timestamp doesn't? Can we get a quick run-down, please? ChrisA