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


Groups > comp.lang.python > #80898

Using map()

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <sailor@lists.xtsubasa.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.249
X-Spam-Level **
X-Spam-Evidence '*H*': 0.61; '*S*': 0.11; 'builtin': 0.09; 'subject:()': 0.09; 'header:User-Agent:1': 0.23; 'function': 0.29; 'checked': 0.32; 'useful': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'such': 0.63; 'received:178': 0.74; 'saw': 0.77; 'subject:Using': 0.84
X-PV-Sent sailor@lists.xtsubasa.org
From Pavel Volkov <sailor@lists.xtsubasa.org>
To <python-list@python.org>
Subject Using map()
Date Sun, 16 Nov 2014 16:01:10 +0300
User-Agent Trojita/0.4.1; Qt/4.8.5; X11; Linux;
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Mailman-Approved-At Sun, 16 Nov 2014 21:20:27 +0100
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.15896.1416169228.18130.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416169228 news.xs4all.nl 2838 [2001:888:2000:d::a6]:60953
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80898

Show key headers only | View raw


I checked my modules with pylint and saw the following warning:

W: 25,29: Used builtin function 'map' (bad-builtin)

Why is the use of map() discouraged?
It' such a useful thing.

Back to comp.lang.python | Previous | Next — 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