[Python-ideas] Adding list.pluck()

Serhiy Storchaka storchaka at gmail.com
Sat Jun 2 20:01:53 CEST 2012

On 02.06.12 19:06, Guido van Rossum wrote:
> On Sat, Jun 2, 2012 at 8:54 AM, Mathias Panzenböck
> <grosser.meister.morti at gmx.net>  wrote:
>>>>> from operator import itemgetter
>>>>> map(itemgetter('name'),stooges)
>> ['moe', 'larry', 'curly']
> If I saw this I would have to think a lot harder before I figured what
> it meant. (Especially without the output example.)

And this is not true in Python 3.

<map object at 0xb747970c>

More information about the Python-ideas mailing list