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


Groups > comp.lang.python > #40586

Re: Config & ConfigParser

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.050
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'before.': 0.09; 'path,': 0.09; 'cc:addr:python-list': 0.10; '-tkc': 0.16; 'atomically': 0.16; 'caching': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'wrote:': 0.17; 'directory.': 0.17; 'cc:2**0': 0.23; "haven't": 0.23; 'thus': 0.24; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'connection': 0.30; 'stuff': 0.30; 'gets': 0.32; 'file': 0.32; 'goes': 0.33; 'thanks': 0.34; 'server': 0.35; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'instead': 0.39; 'where': 0.40; 'your': 0.60; "you've": 0.61; 'ever': 0.63; 'subject: & ': 0.67; 'benefit': 0.70; 'etc,': 0.84; 'off,': 0.84; 'received:50.22': 0.84; 'download.': 0.91
Date Tue, 5 Mar 2013 18:15:20 -0600
From Tim Chase <python.list@tim.thechases.com>
To Chuck <galois271@gmail.com>
Subject Re: Config & ConfigParser
In-Reply-To <8a24db13-b599-4a9f-a98f-5e0d256aeee5@googlegroups.com>
References <61520ad1-9e3c-4eec-b1d9-8a9d8fc7bf0c@googlegroups.com> <mailman.2911.1362518132.2939.python-list@python.org> <8a24db13-b599-4a9f-a98f-5e0d256aeee5@googlegroups.com>
X-Mailer Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
Cc 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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2918.1362528820.2939.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362528820 news.xs4all.nl 6959 [2001:888:2000:d::a6]:34500
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40586

Show key headers only | View raw


On 2013-03-05 15:58, Chuck wrote:
> Thanks Tim!  So much stuff I haven't thought of before.  Out of
> curiosity, what's the benefit of caching the download,  instead of
> downloading to the final destination? 

If your connection gets interrupted, the server goes down, etc, you
have a partial download.  If you've put it directly in the download
path, your other programs see this partial download.  However
if your program can resume the download where it left off, once
it's completed successfully, it can atomically move the file to your
download location.  Thus your other programs only ever see
all-or-nothing in the download directory.

-tkc


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


Thread

Config & ConfigParser Chuck <galois271@gmail.com> - 2013-03-05 12:09 -0800
  Re: Config & ConfigParser Tim Chase <python.list@tim.thechases.com> - 2013-03-05 15:17 -0600
    Re: Config & ConfigParser Chuck <galois271@gmail.com> - 2013-03-05 15:58 -0800
      Re: Config & ConfigParser Tim Chase <python.list@tim.thechases.com> - 2013-03-05 18:15 -0600
        Re: Config & ConfigParser Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 04:04 +0000
  Re: Config & ConfigParser Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 03:31 +0000
    Re: Config & ConfigParser Chris Angelico <rosuav@gmail.com> - 2013-03-06 15:05 +1100
      Re: Config & ConfigParser Neil Cerutti <neilc@norwich.edu> - 2013-03-07 16:18 +0000
    Re: Config & ConfigParser Chuck <galois271@gmail.com> - 2013-03-05 20:07 -0800
      Re: Config & ConfigParser Chris Angelico <rosuav@gmail.com> - 2013-03-06 15:19 +1100
        Re: Config & ConfigParser Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 04:54 +0000
          Re: Config & ConfigParser Chris Angelico <rosuav@gmail.com> - 2013-03-06 17:09 +1100

csiph-web