[Python-ideas] Add nullifier argument to functools.reduce?

Joshua Landau joshua at landau.ws
Sat Aug 23 21:23:16 CEST 2014


On 23 August 2014 17:15, Devin Jeanpierre <jeanpierreda at gmail.com> wrote:
> On Sat, Aug 23, 2014 at 9:01 AM, Joshua Landau <joshua at landau.ws> wrote:
>> A better answer in my opinion would be something more like
>> "reduce(..., stop_on=sentinel)".
>
> How is this any different?

It's not. I'm a fool who doesn't read.

Apologies for the noise.


More information about the Python-ideas mailing list