Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80939

Re: Using map()

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.095
X-Spam-Evidence '*H*': 0.85; '*S*': 0.04; 'messages.': 0.05; 'subject:()': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'magic': 0.16; 'personally,': 0.16; 'vary.': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'programmers': 0.33; 'agree': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'useful': 0.36; 'two': 0.37; 'nov': 0.38; "you've": 0.63; 'more': 0.64; 'batchelder': 0.84; 'everything.': 0.84; 'hassle': 0.84; 'subject:Using': 0.84; 'worth,': 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; bh=PMIti7a3r1k4maV0lN7yV1zvMfHv6eCuLvYztvhWXJU=; b=kIzRIuzT2PoSsRbHzlkfm/rC/GxbQ+mIcTvGUfONxj5dPJgTivLERSUOqnmL59sj2c vXMnRBgZWoL506tKsKa0mg/QttgFzv2qmS/qY+Wl3s6eigeOkeZ2ybcHwsnHazw4wnB+ AjkPa1jg+BaFHTzXdsZGqZe9B8AvtAr85oH14eyb6+TUPHMfUHf9RcOn2Bu5TzaxiihV GKs75Pm9nsmavO6g+mFA6JzzWxXXvsaDqSDXHZjStIu/Nk4VxzDDhnjcyCmD3BbfwtjY c5ktL8C3CM/ezufaPcHyF5r6t4zWKCMeWsgdMJGO7LVMg30wecbOeElLD8/R0me0X3lT U8Ew==
MIME-Version 1.0
X-Received by 10.50.110.4 with SMTP id hw4mr22458654igb.14.1416186486672; Sun, 16 Nov 2014 17:08:06 -0800 (PST)
In-Reply-To <m4bf84$pg3$1@ger.gmane.org>
References <mailman.15896.1416169228.18130.python-list@python.org> <54693cc4$0$13000$c3e8da3$5496439d@news.astraweb.com> <m4bf84$pg3$1@ger.gmane.org>
Date Mon, 17 Nov 2014 12:08:06 +1100
Subject Re: Using map()
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15928.1416186490.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416186490 news.xs4all.nl 2931 [2001:888:2000:d::a6]:52286
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80939

Show key headers only | View raw


On Mon, Nov 17, 2014 at 11:24 AM, Ned Batchelder <ned@nedbatchelder.com> wrote:
> Pylint isn't useful until you've tailored the messages.  Personally, I avoid
> map, but your usage may vary.  The pylint message that always irked me was:
>
>     W0142: Used * or ** magic

This is why I don't bother with linters at all. They're almost always
more hassle than they're worth, because no two programmers agree on
everything.

ChrisA

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using map() Pavel Volkov <sailor@lists.xtsubasa.org> - 2014-11-16 16:01 +0300
  Re: Using map() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-17 11:09 +1100
    Re: Using map() Ned Batchelder <ned@nedbatchelder.com> - 2014-11-16 19:24 -0500
    Re: Using map() Chris Angelico <rosuav@gmail.com> - 2014-11-17 12:08 +1100
    Messages from code analysis tools (was: Using map()) Ben Finney <ben+python@benfinney.id.au> - 2014-11-17 12:21 +1100
    Re: Using map() Dan Stromberg <drsalists@gmail.com> - 2014-11-16 17:31 -0800
    Re: Messages from code analysis tools (was: Using map()) Chris Angelico <rosuav@gmail.com> - 2014-11-17 12:36 +1100
    Re: Messages from code analysis tools Ned Batchelder <ned@nedbatchelder.com> - 2014-11-16 20:49 -0500

csiph-web