Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.096 X-Spam-Evidence: '*H*': 0.81; '*S*': 0.00; 'plenty': 0.07; 'builtin': 0.09; 'subject:()': 0.09; 'manifests': 0.16; 'received:172.18.0': 0.16; 'to:name:python-list@python.org': 0.22; 'header:In-Reply- To:1': 0.27; 'function': 0.29; 'arm': 0.31; 'disable': 0.31; 'checked': 0.32; 'up.': 0.33; 'info': 0.35; 'convert': 0.35; 'there': 0.35; 'useful': 0.36; 'charset:us-ascii': 0.36; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'interested,': 0.61; 'such': 0.63; 'more': 0.64; 'saw': 0.77; 'subject:Using': 0.84 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=YzkDeCCLkfvKKKvhMilE7Ce3LEB3kVshiYMlAyNVURc= c=1 sm=1 a=CRTDazI5n6YA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=g3mLq75WYuDrh3Lt0JSDww==:17 a=_hYD8dpe6elzBHRVIMIA:9 a=CjuIK1q_8ugA:10 a=80s7bL-yAuEA:10 a=umUiBVSyGWkA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.activenetwerx.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 From: "Joseph L. Casale" To: "python-list@python.org" Subject: RE: Using map() Thread-Topic: Using map() Thread-Index: AQHQAdtMjOpGahfGA0GgAkuRSSEJr5xjtn3w Date: Sun, 16 Nov 2014 20:39:47 +0000 References: <3b3e245f-c377-4543-b9eb-186e5087103a@lists.xtsubasa.org> In-Reply-To: <3b3e245f-c377-4543-b9eb-186e5087103a@lists.xtsubasa.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.0.200] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416170459 news.xs4all.nl 2923 [2001:888:2000:d::a6]:48105 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80902 > 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