[Numpy-discussion] Simple multi-arg wrapper for dot()

Perry Greenfield perry at stsci.edu
Sat Mar 24 14:59:43 EDT 2007


On Mar 24, 2007, at 2:52 PM, Bill Baxter wrote:

> On 3/24/07, Steven H. Rogers <steve at shrogers.com> wrote:
>> Anne Archibald wrote:
>>>
>>> P.S. reduce isn't even a numpy thing, it's one of python's
>>> much-neglected lispy functions.
>>>
>>
>> It looks like reduce(), map(), and filter() are going away for Python
>> 3.0 since GvR believes that they are redundant and list  
>> comprehensions
>> and generator expressions are more readable alternatives.  lambda  
>> was on
>> the block as well, but will be retained.
>
> Are you sure reduce is on the chopping block?  The PEP for generator
> expressions doesn't say anything about reduce becoming redundant.

While it isn't in his slides for Pycon this year, I could have sworn  
he said he was getting rid of reduce  (but not lambda, nor map IIRC  
but not sure about the latter)

Perry



More information about the NumPy-Discussion mailing list