Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76356

Re: timedelta problem

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!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
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; 'attribute': 0.07; 'cc:addr :python-list': 0.11; 'python': 0.11; 'windows': 0.15; '>on': 0.16; '>the': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'mess,': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'wrote:': 0.18; 'version.': 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'subject:problem': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; '15,': 0.26; 'posts': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; '(my': 0.31; 'says': 0.33; 'fri,': 0.33; 'something': 0.35; 'but': 0.35; 'really': 0.36; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'two': 0.37; 'received:211': 0.38; 'pm,': 0.38; 'anything': 0.39; 'most': 0.60; 'content-disposition:inline': 0.62; 'our': 0.64; 'to:addr:gmail.com': 0.65; 'between': 0.67; 'friend': 0.79; '3.4': 0.84; 'clearer': 0.84; 'absolutely': 0.87
Date Fri, 15 Aug 2014 17:47:28 +1000
From Cameron Simpson <cs@zip.com.au>
To Chris Angelico <rosuav@gmail.com>
Subject Re: timedelta problem
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Disposition inline
In-Reply-To <CAPTjJmr6QpAZbDRXaFSV+tjqVzCKnjUwTZ01dTMPXzs_Jm+DQg@mail.gmail.com>
User-Agent Mutt/1.5.21 (2010-09-15)
References <CAPTjJmr6QpAZbDRXaFSV+tjqVzCKnjUwTZ01dTMPXzs_Jm+DQg@mail.gmail.com>
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.1 cv=AOuw8Gd4 c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=DMQCuHE3HbgA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=pGLkceISAAAA:8 a=YrASbm9y0NpmocDAQDAA:9 a=CjuIK1q_8ugA:10 a=rtU1LkotvtwA:10 a=MSl-tDqOz04A:10
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13028.1408088858.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408088858 news.xs4all.nl 2972 [2001:888:2000:d::a6]:54175
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76356

Show key headers only | View raw


On 15Aug2014 13:59, Chris Angelico <rosuav@gmail.com> wrote:
>On Fri, Aug 15, 2014 at 1:51 PM, Denis McMahon <denismfmcmahon@gmail.com> wrote:
>> AttributeError: 'module' object has no attribute 'timezone'
>
>Both fail as you describe in 2.7, but in 3.4/3.5ish (my 'python3' is a
>bit of a mess, but it's something between those two I think), both
>work as per the OP's description. You both need to be clearer about
>version numbers, I think :) The OP did have a link to docs with 3.4 in
>the name, although that isn't proof necessarily.

At least one of the OP's posts showed 3.4.0 as the Python version. On some 
flavour of Windows I believe.

Cheers,
Cameron Simpson <cs@zip.com.au>

Our friend Trefayne is really most intuitive; you may trust that anything he
says is absolutely true.        - Aylebourne

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: timedelta problem Cameron Simpson <cs@zip.com.au> - 2014-08-15 17:47 +1000

csiph-web