Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'responding': 0.04; 'example)': 0.07; 'recursion': 0.09; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; '"while': 0.16; 'angelico': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'intensity': 0.16; 'rantingrick': 0.16; 'specs': 0.16; 'thing?': 0.16; 'mon,': 0.17; 'header:In-Reply-To:1': 0.21; 'expectation': 0.23; 'stops': 0.23; 'expect': 0.25; "i'm": 0.27; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'sort': 0.31; 'this.': 0.31; 'technical': 0.33; 'to:addr:python- list': 0.33; '(for': 0.33; 'it?': 0.33; 'chris': 0.34; 'light': 0.34; 'there': 0.35; 'forces': 0.35; 'safely': 0.35; 'using': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'case': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'really': 0.40; 'power': 0.61; 'stop': 0.62; 'act': 0.65; 'limit': 0.65; 'anything.': 0.72; '30,': 0.84; 'forever': 0.84; 'household': 0.91; 'regret': 0.91; 'subject:English': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=E04vgDGwVVQrlftyAtrBRHShTBlKQhlDZgEu7aXwhgo=; b=Z4jajssY99Eb8THQ4ncjhrcECaSTdyyF2yZnuC0qv2IHArFU6icY2VCfeXNdCJ7VoX eP31lWY4Hg4bw3T+hdvDTvthwhhb+OmBJpOhS8y9yVhw79x0EG6xYI6P15FV+szBf5py ZIjb0lU5x8fM0x4YjWfunrcoQvN77Joch/f1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AQ7l5qdLKxKXPrie2fsiEdbEL5uiAys73YACSXR7pMUkamgbFCekOk3WuUXmWxMUow cu2iMEO/v2ajgkIAr2y6+IS6Szs95dv7u6G8DVeuKLwNPzh8rvXHf6hPGz8+oQvTSgPf zdj3jcbLZRzY4zv28vsIQabGJhXZ5Uq5oR40o= MIME-Version: 1.0 In-Reply-To: References: <4dd61066$0$29996$c3e8da3$5496439d@news.astraweb.com> <37nqa8-lpa.ln1@murmur.very.softly> <4ddaf94b$0$29996$c3e8da3$5496439d@news.astraweb.com> <4ddd898d$0$29996$c3e8da3$5496439d@news.astraweb.com> <4dde325f$0$67776$c30e37c6@exi-reader.telstra.net> Date: Mon, 30 May 2011 07:46:55 +1000 Subject: Re: English Idiom in Unix: Directory Recursively 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.12 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: 18 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306705624 news.xs4all.nl 49174 [::ffff:82.94.164.166]:47558 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6584 On Mon, May 30, 2011 at 7:38 AM, rantingrick wrote: > Yes but understanding of this sort is very general ESPECIALLY in the > case of destroying data! > > What are the limits of the recursion? What forces can act on the > recursion to stop it? If (for example) I know that a "while loop" will > continue forever until "something" stops it then i really don't know > enough about while loops to start using them safely do i? That's true of anything. If I turn on the light switch, I expect there to be a limit to the amount of light it produces; I don't want a household fluro to produce the intensity of the worklights in a theatre. Ought I to get the technical specs and find out exactly how many lumens will be produced, or can I safely power it on in the expectation that it will do the obvious thing? Chris Angelico PS. Why am I responding to rantingrick? I'm sure I'm going to regret this.