Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed1.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '(at': 0.04; 'subject:Python': 0.06; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reasonably': 0.16; 'timestamp': 0.16; 'using,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'bit': 0.19; 'thu,': 0.19; 'meant': 0.20; 'not,': 0.20; 'cc:addr:python.org': 0.22; 'jquery': 0.24; 'module,': 0.24; 'please?': 0.24; 'simpler': 0.24; 'cc:2**0': 0.24; 'least': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'specifically': 0.29; 'chris': 0.29; 'feature': 0.29; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'easier': 0.31; 'you?': 0.31; 'writes:': 0.31; 'subject:the': 0.34; 'could': 0.34; 'basic': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'ben': 0.38; 'pm,': 0.38; 'explain': 0.39; 'does': 0.39; 'read': 0.60; "you're": 0.61; 'offer': 0.62; 'more': 0.64; 'skip:\xe2 10': 0.65; 'nobody': 0.68; '8bit%:43': 0.74; 'sorry.': 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:content-transfer-encoding; bh=jyiiJHiHjVfh1btkG19tlGXh+akD/cm6r6gCbxYw6PU=; b=ewJahvpLSDgx+/8raBSLDSRY7X/i5xw5ry5u8fKpEyPoWydSGXcrGznItfS16Tbw6z S4dhT7oA05lfg+Wh1ULoPyL9WKvWvymgAb5z3kHRJF8rJnXstTSNgQHTPTMAEjYT7KTE eq8uplL0hOGY7TjndyJZUkE/FpU/w/Kys/o/PJ3akqsFtmV0BGYh7nKwhLi/AfvapBLi 27DG5YkHuEHoP8JW6qAN6+Veiiw44hFh3GF7xu4Ol7wKXrB+cL+lhz5CNR+CpDz8akCV KpTo5FpyWu46A9+9ZLSG+P/cMk2StgNjwW9ZOd5HT6Ta2NFIWDERywnbTna1RGGzL3De 7eWg== MIME-Version: 1.0 X-Received: by 10.66.163.36 with SMTP id yf4mr2053982pab.67.1389254195022; Wed, 08 Jan 2014 23:56:35 -0800 (PST) In-Reply-To: <7wiottej72.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> <52CE3416.9090501@stoneleaf.us> <7wiottej72.fsf@benfinney.id.au> Date: Thu, 9 Jan 2014 18:56:34 +1100 Subject: Re: the Gravity of Python 2 From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389254198 news.xs4all.nl 2937 [2001:888:2000:d::a6]:41049 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63581 On Thu, Jan 9, 2014 at 5:57 PM, Ben Finney wro= te: > Chris Angelico writes: > >> What exactly does datetime offer you that a timestamp doesn't? Can we >> get a quick run-down, please? > > Isn't this answered by you reading the standard library documentation > for the =E2=80=98datetime=E2=80=99 and =E2=80=98time=E2=80=99 modules? Ar= e you asking for someone to > read those for you? If not, can you explain more precisely what you're > asking? Sorry. I'm more specifically asking what Roy's using, here. I can see what functions it offers, so my language was a bit sloppy. What I meant is: What can you (Roy), with your use-case, achieve with datetime that you can't achieve (at least reasonably easily) with a timestamp? Nobody ever uses every feature of a module, and I often see people using some library/module/function when they could be using a simpler and easier base function (like using JQuery for basic web page scripting). ChrisA