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


Groups > comp.lang.python > #80902 > unrolled thread

RE: Using map()

Started by"Joseph L. Casale" <jcasale@activenetwerx.com>
First post2014-11-16 20:39 +0000
Last post2014-11-16 20:39 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: Using map() "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-11-16 20:39 +0000

#80902 — RE: Using map()

From"Joseph L. Casale" <jcasale@activenetwerx.com>
Date2014-11-16 20:39 +0000
SubjectRE: Using map()
Message-ID<mailman.15899.1416170459.18130.python-list@python.org>
> 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.

The warning manifests from the opinion that a comprehension is
more suitable. You can disable the warning or you can convert your
usage to a comprehension. If you are interested, there is plenty of
info floating around given the above to arm you sufficiently to make
your own mind up.

jlc

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web