Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.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.043 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'warnings': 0.03; 'explicitly': 0.04; 'formatting': 0.07; 'pep': 0.09; 'spurious': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'variables': 0.17; 'jan': 0.18; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; "d'aprano": 0.29; 'steven': 0.29; 'says': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'more.': 0.62; 'subject:...': 0.63; '2013': 0.84; 'anywhere.': 0.84; 'to:name:python': 0.84; 'subject:very': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Ic4gDENDKkrb0A8bolrIJUttAlNzWfHhXa6XeTg6aPE=; b=oRcauvFj2+kEnzZAmtok9UvKaD3fReGe8lI1+fazTCUwE3R2jUxUYXe4AtyCfwfryQ IdMU5Eiu6/30DLGakV3mDxWTk7ZnuknmFmb75d3pcNn0qnb1TUZKGk69MgwEw2FgeS68 erkrlgiZapsqAo8NMX/G/g7AtR/sVddvA2qWxx/WRgnqf7I0UtDK94v99KhsRBy5lrMb xKzKe/rYjkYZTfJkXxdR0jJFjio4TiGNMvWVEkJT2VtWBMoiSSLutrc/qZu/pey5wKuT KmOlIBP0ya3Wv3sV6TkFSIsl3YMYP48+cjX7uUAF+0n5Ae+As1cfLWMyAQTd6ItXtOUP IT3g== MIME-Version: 1.0 In-Reply-To: <50e4c83b$0$30003$c3e8da3$5496439d@news.astraweb.com> References: <50e4c83b$0$30003$c3e8da3$5496439d@news.astraweb.com> From: Ian Kelly Date: Wed, 2 Jan 2013 17:25:03 -0700 Subject: Re: pylint, was Re: pygame - importing GL - very bad... To: Python Content-Type: text/plain; charset=ISO-8859-1 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357172736 news.xs4all.nl 6842 [2001:888:2000:d::a6]:57765 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36017 On Wed, Jan 2, 2013 at 4:52 PM, Steven D'Aprano wrote: > If pylint says that global variables should be named like "__variable__", > that is explicitly going against PEP 8. It doesn't say that anywhere. It includes dunder names in the regex so that you don't get spurious warnings from pylint about the formatting of names like __all__, nothing more.