Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:not': 0.03; 'subject:Error': 0.07; 'indication': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'googling': 0.16; 'lot!': 0.16; 'ought': 0.16; 'url:py': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'wed,': 0.18; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'directory.': 0.24; 'fine': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'first,': 0.26; 'suggested': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'went': 0.31; 'code': 0.31; '25,': 0.31; 'file': 0.32; 'noticed': 0.34; 'subject:the': 0.34; 'could': 0.34; 'one,': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'add': 0.35; 'there': 0.35; 'shows': 0.36; 'thanks': 0.36; 'two': 0.37; 'clear': 0.37; 'rich': 0.38; 'recent': 0.39; 'most': 0.60; 'new': 0.61; 'fact,': 0.69; 'done:': 0.84; 'remained': 0.84; 'url:master': 0.84; 'mistakenly': 0.91; 'to:none': 0.92; 'online,': 0.96 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=OdnSzu9bvlUTXcU0fC18zpaOpi6ZuafW5+F4SMBQYAY=; b=VYScFOvENbA6dYFNBiD7ILl0FXoqkBc3TGsZwIvyqaWMoVNSK788Jj7I9eilOUwuzC mdposufiFe1QP59zYbZcJVdzMgWUEU1OsV9znrMD4dzDYG+K5zEDL3OWN22Eu4bzemyD GFFUacKLL6o9aXBc/oHdGkHNgLsn2UhmrSqZBl1Wf9NkNb1HcVRFkhTtwvasusJhTKnx 1bjsTzi9MS+xvTyH69Dzrmh0GdATmEDVlLv4wQOZJUV/NkvQAUnNCrmGAzOYnjtgcoaU rj0xN86DgHm1WyRuj8bIkhSvKnWul7xhUcq2Msb6CFR9R9eLNXhmteVNj0j4sDGTj9BQ mTdw== MIME-Version: 1.0 X-Received: by 10.220.81.194 with SMTP id y2mr1017213vck.29.1403620520431; Tue, 24 Jun 2014 07:35:20 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jun 2014 00:35:20 +1000 Subject: Re: Error in PyDev but not in the standard python interpreter 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403620523 news.xs4all.nl 2908 [2001:888:2000:d::a6]:52353 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73551 On Wed, Jun 25, 2014 at 12:27 AM, Fabien wrote: > netCDF4 has two repositories online, one on google code and one on github. I > mistakenly installed the old one, then I noticed the new one and obviously > some old stuffs remained in the dist-packages directory. I removed them from > my path and everything works fine in pydev now. > > Thanks a lot! Awesome! In fact, looking at their github repo (or what seems to be it) shows that (currently) the most recent change to that file was exactly what I suggested ought to be done: add rich comparisons to the phony datetime. https://github.com/Unidata/netcdf4-python/blob/master/netcdftime.py Would be nice if there could be some clear indication that this is the official and current repo. When I went Googling for netCDF4, I found the other one first, with no indication that the github repo was better. ChrisA