Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!feeder3.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!62.179.104.142.MISMATCH!amsnews11.chello.com!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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:bug': 0.04; 'properly.': 0.09; 'subject:string': 0.09; 'am,': 0.12; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'advice,': 0.16; 'egg': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'handy': 0.16; 'subject:handling': 0.16; 'troll': 0.16; 'wrote:': 0.18; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'code': 0.25; 'code.': 0.26; 'message-id:@mail.gmail.com': 0.28; '27,': 0.29; 'class': 0.29; 'reporting': 0.31; 'dependent': 0.32; 'tue,': 0.32; 'rules': 0.34; 'to:addr:python-list': 0.34; 'someone': 0.34; 'subject:work': 0.34; 'list.': 0.35; 'subject:with': 0.36; 'class.': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'else': 0.39; 'johnson': 0.39; 'subject: (': 0.40; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'your': 0.61; 'you.': 0.63; 'fat': 0.84; 'subject:Possible': 0.84; 'trim': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=AIDybvwnwGY+6Of7UodzOBYfKjijMIe9YbDgvrdvl7g=; b=YpabplhiHGQok/oa9ckVG+RRjF0w32oFck5CI2Lt7447EzQJwiDuUD6aHp0g4OrU/w Wy+jpCn5SA2hF3nYmM+rZ1naeuzOJ4dEhwSyk1K6pO8RnwSzmfLILLlUm+pM1/NUTNx2 slsfRupUrxkDbWFwmKeefrGtv6Axr1750DK6U= MIME-Version: 1.0 In-Reply-To: <0063a1a0-0cbc-4352-90ce-13ab2eda6884@v24g2000yqk.googlegroups.com> References: <0063a1a0-0cbc-4352-90ce-13ab2eda6884@v24g2000yqk.googlegroups.com> Date: Tue, 27 Dec 2011 10:05:22 +1100 Subject: Re: Possible bug in string handling (with kludgy work-around) 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: 2001:888:2000:d::a6 X-Trace: 1324940726 news.xs4all.nl 6886 [2001:888:2000:d::a6]:48005 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17991 On Tue, Dec 27, 2011 at 9:48 AM, Rick Johnson wrote: > Handy rules for reporting bugs: > > 1. Always format code properly. > 2. Always trim excess fat from code. > 3. Always include relative dependencies ("self.wordlist" is only valid > inside a class. In this case, change the code to a state that is NOT > dependent on a class definition.) > > Most times after following these simple rules, you'll find egg on your > face BEFORE someone else has a chance to see it and ridicule you. 4. Don't take it personally when a known troll insults you. His advice, in this case, is valid; but don't feel that you're going to be ridiculed. We don't work that way on this list. ChrisA