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


Groups > comp.lang.python > #80901

Re: Using map()

References <3b3e245f-c377-4543-b9eb-186e5087103a@lists.xtsubasa.org>
Date 2014-11-16 15:39 -0500
Subject Re: Using map()
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15898.1416170383.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Nov 16, 2014 at 8:01 AM, Pavel Volkov <sailor@lists.xtsubasa.org> wrote:
> 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.
> --
> https://mail.python.org/mailman/listinfo/python-list

I think people now favor list comprehensions.

-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

Re: Using map() Joel Goldstick <joel.goldstick@gmail.com> - 2014-11-16 15:39 -0500

csiph-web