Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.112 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.78; '*S*': 0.01; 'subject:skip:s 10': 0.07; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nfs.': 0.16; 'progressive': 0.16; "steve's": 0.16; 'subject:issue': 0.16; 'subject:timing': 0.16; 'wrote:': 0.18; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'file': 0.32; "i'd": 0.34; 'received:google.com': 0.35; 'there': 0.35; 'like,': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'system.': 0.39; 'around.': 0.60; 'skip:n 30': 0.60; 'mentioned': 0.61; 'first': 0.61; 'different': 0.65; '30,': 0.65; 'jul': 0.74; 'freebsd': 0.84; '2013': 0.98 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:to :content-type; bh=DxCKggTZ2K/gtDpDmZQvVHmtZc8yUKmbWcTLSW8AhCg=; b=vSY6NfLtFzWV2GXr93Ph/oze+l36npBFcxWr1D2k7nnr1bBEO17zSLL6Aq8cgHP9kD 05mNhjV5Roe7WLCikkwPEeiNLPtgMggb57um5YyDkwqbe+5xF10LWKh1YvDGykHWZm6D OCo7DImRCwitj8itXQ1aJ9VQk83eKu7GlZ+UBxylgDdWryGxnLbpKgbQ06BhvZVcmoy9 tmbntbn/AamnRHDJoNXcA+N5GtdU4w3ZbO7vNIBlGRSIoEYXHB5KqWSm5/2c21bsrVyG mhOB0Q7hqyrt1ovmmmMBpfd4iUcc9gYOAy1yV86JLnSjbvWug0UblBU+9kf3pMly8PQX ugRg== MIME-Version: 1.0 X-Received: by 10.58.214.105 with SMTP id nz9mr22497286vec.58.1375200212896; Tue, 30 Jul 2013 09:03:32 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Jul 2013 17:03:32 +0100 Subject: Re: timing issue: shutil.rmtree and os.makedirs From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1375200222 news.xs4all.nl 16009 [2001:888:2000:d::a6]:37154 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51575 On Tue, Jul 30, 2013 at 4:37 PM, Tim wrote: > Argg, this isn't the first time I've had troubles with the file system. This is FreeBSD and NFS. I will code up a progressive delay as you mentioned (with Steve's correction). I've used several different networked file systems, including NetBIOS/NetBEUI/SMB/Samba/etc, sshfs/cifs, and nfs. Not one of them "feels" as clean as I'd like, though sshfs comes closest. There always seem to be hacks around. ChrisA