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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:module': 0.04; 'ignored': 0.07; 'pm,': 0.10; 'received:209.85.214.174': 0.14; 'received:mail-iw0-f174.google.com': 0.14; 'wrote:': 0.14; '(long': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'keyword': 0.19; 'header:In-Reply-To:1': 0.21; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'sat,': 0.29; 'config': 0.30; 'steven': 0.32; 'to:addr:python- list': 0.33; "isn't": 0.33; "i've": 0.33; "d'aprano": 0.35; 'quite': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'think': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'under': 0.40; 'stop': 0.62; 'here': 0.66; '"stop"': 0.84 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=QubiEljtpsXMjR2uPzl0zIxg0S9qiU6MZHqoRu0gLbo=; b=j1t1+xSHdXtzjXyCG9M59ZJ2DhdK/jZ9+9sRnEpyawLh+ftI53tqefGR+N+yr3Ar4f Bpb8uMd9ZAmpCVKOt+IuRHzhdaXpPilJNylx/jtM3LXY+1fqhtclVYsqRQku2K7YLPNl m07zpKFr16xklnuFcOEYEKxCbVc8YzFDozQrw= 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=MvbqMkTGQQ1Z3KTjtH1EwcMy3sFILJS9ZTJO6p9taoTRoGwPS4EMoTuGC/eedxgUFu 7qX6R+f3htIK3ZIybZKJbEPiExZn2O94wuax+9rTi4iCdfKcdHj8Vzw0LJF5jIEelMo+ NZQY9OqDh2UcxuIWDMqlDT9/2GXWn2WIxymtE= MIME-Version: 1.0 In-Reply-To: <4dfc2084$0$30002$c3e8da3$5496439d@news.astraweb.com> References: <4dfaed89$0$30002$c3e8da3$5496439d@news.astraweb.com> <4dfc2084$0$30002$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 18 Jun 2011 14:31:51 +1000 Subject: Re: break in a module 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: 15 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308371514 news.xs4all.nl 49183 [::ffff:82.94.164.166]:39858 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7884 On Sat, Jun 18, 2011 at 1:50 PM, Steven D'Aprano wrote: > I don't think the use-case for this is convincing enough to need it, but > it's an interesting concept. I once played around with a mini-language > for config files that included a "STOP" command, so that: > > key = value > STOP > everything under here is ignored > Isn't that how Perl's __data__ keyword works? (Long time since I've used it, it mightn't be quite __data__.) ChrisA