Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'static': 0.04; 'warnings': 0.04; 'subject:code': 0.07; 'feature,': 0.09; 'undefined': 0.09; 'cc:addr:python-list': 0.11; 'check.': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'magic': 0.16; 'ought': 0.16; 'subject:analysis': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; 'ignored.': 0.30; 'message-id:@mail.gmail.com': 0.30; 'asked': 0.31; 'code': 0.31; 'subject:from': 0.34; 'problem': 0.35; 'subject: (': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'surely': 0.36; 'should': 0.36; 'ben': 0.38; 'nov': 0.38; 'pm,': 0.38; 'that,': 0.38; 'anything': 0.39; 'either': 0.39; "you've": 0.63; 'language!': 0.84; 'subject:Using': 0.84; 'was:': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=C9MFM727vGU3QuQS+ekvfs6NcJwsyBjvqvA+1rAJcEs=; b=txhayUwKslecp8Xw0g74URrEw9pn0nh2s5YHG42bXLQquF3BoAmICJbKRgahe/5Tk1 14RRDXRVR6Gj+aT9np1eNJ5qVUrSf8iTAQ4z1ABKue29sCLcR/aTgIGXqC2HLAqBg6D6 jFdDqNq/NyRJaOvHGmanlqUJmO+51Uzp71jx3T7Jr4C4FMKtf+0DEbBTeQD2mRq0eFyB DjUgujM6wc1rNPLn/xuSImYdd49ZqmZLUFr0JzdK+Wzky7HTq2UhewwBHXTz08qf+SDy myX4+yOokOUJPlTPuCsiAeVoYfk9K2Mn/J0/9ynADOuoyNXaiSlgWpUlISygVVTlKrXm ssUg== MIME-Version: 1.0 X-Received: by 10.50.110.4 with SMTP id hw4mr22564184igb.14.1416188219646; Sun, 16 Nov 2014 17:36:59 -0800 (PST) In-Reply-To: <85h9xy39ml.fsf_-_@benfinney.id.au> References: <54693cc4$0$13000$c3e8da3$5496439d@news.astraweb.com> <85h9xy39ml.fsf_-_@benfinney.id.au> Date: Mon, 17 Nov 2014 12:36:59 +1100 Subject: Re: Messages from code analysis tools (was: Using map()) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416188222 news.xs4all.nl 2892 [2001:888:2000:d::a6]:46956 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:80947 On Mon, Nov 17, 2014 at 12:21 PM, Ben Finney w= rote: >> The pylint message that always irked me was: >> >> W0142: Used * or ** magic >> >> "magic"? They're features of the language! > > It's a warning, because the use of that feature clobbers the static code > inspection you've asked for. PyLint is warning you =E2=80=9Cbecause the c= ode > uses this feature, I can't say anything about undefined names=E2=80=9D. Then that ought surely to be an informational? It's not saying there's a problem in your code, it's pointing out that it can't check. Either that, or warnings from PyLint are all low-grade and should be ignore= d. ChrisA