Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!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.075 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.01; 'sorts': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrote:': 0.18; 'cheers,': 0.20; 'static': 0.24; 'code,': 0.28; "i'm": 0.28; 'subject:?': 0.31; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.34; 'wondering': 0.34; 'to:addr:python-list': 0.35; 'subject:How': 0.35; 'subject:can': 0.35; 'received:org': 0.36; 'another': 0.37; 'some': 0.38; 'to:addr:python.org': 0.40; 'john': 0.61; 'simple': 0.61; 'header:Reply-To:1': 0.70; 'reply- to:no real name:2**0': 0.72; 'reply-to:addr:gmail.com': 0.76; 'bitten': 0.84; 'checker': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Kev Dwyer Subject: Re: How can I catch misnamed variables? Date: Fri, 10 Feb 2012 21:22:32 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: cpc7-hari14-2-0-cust162.20-2.cable.virginmedia.com Mail-Copies-To: kevin.p.dwyer@gmail.com User-Agent: KNode/4.7.2 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: kevin.p.dwyer@gmail.com 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: 2001:888:2000:d::a6 X-Trace: 1328909007 news.xs4all.nl 6882 [2001:888:2000:d::a6]:44236 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20189 John Gordon wrote: > Recently I was been bitten by some stupid errors in my code, and I'm > wondering if there's a simple way to catch them. > Pyflakes is another static checker that can catch these sorts of errors. Cheers, Kev