Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'wrapped': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language': 0.14; 'confusion': 0.16; 'received:80.91.229.3': 0.16; 'received:dip.t-dialin.net': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-dialin.net': 0.16; 'wrote:': 0.17; 'code.': 0.20; 'bit': 0.21; 'sorry,': 0.22; 'header:User-Agent:1': 0.26; 'appear': 0.26; 'url:wiki': 0.26; 'logging': 0.27; 'wonder': 0.27; 'header:X-Complaints-To:1': 0.28; 'actual': 0.28; 'though.': 0.29; 'url:wikipedia': 0.29; 'asked': 0.33; "aren't": 0.33; 'to:addr :python-list': 0.33; 'subject:]': 0.35; 'received:org': 0.36; 'wanted': 0.36; 'url:org': 0.36; 'too': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'url:en': 0.38; 'advice': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'end': 0.40; 'become': 0.65; 'soon': 0.70; 'patronizing': 0.84; 'comment.': 0.91; 'noise': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: Re: HTMLParser skipping HTML? [newbie] Date: Wed, 05 Sep 2012 20:04 +0200 Organization: None References: <80d8623b-bb08-415c-900b-4a56556435ae@googlegroups.com> <0ac33349-4938-41a6-a129-05d676a5819f@googlegroups.com> <6f152539-4028-41ae-9520-f1c77ba55432@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p5084b17a.dip.t-dialin.net User-Agent: KNode/4.7.3 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346868255 news.xs4all.nl 6859 [2001:888:2000:d::a6]:57152 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28532 BobAalsma wrote: > [Didn't understand the bit about the kittens, though. How about that?] > > Oops, sorry, found that bit about logging in - asked too soon; still > wonder about the kittens ;) I just wanted to tell you not to mark the end of an if-suite with an "# end if" comment. As soon as you become familiar with the language that will look like noise that detracts from the actual code. In an attempt to make this advice appear less patronizing I wrapped it into a lame joke by alluding to http://en.wikipedia.org/wiki/Every_time_you_masturbate..._God_kills_a_kitten Sorry for the confusion -- I hope you aren't offended.