Re: [Numpy-discussion] m-ary logical functions

2012-07-12 Thread Alan G Isaac
On 7/12/2012 1:45 PM, Nathaniel Smith wrote: > I'd actually like to see out= as a kw-only arg. That would be great. Numpy 2.0? Alan Isaac ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discuss

Re: [Numpy-discussion] m-ary logical functions

2012-07-12 Thread Nathaniel Smith
On Thu, Jul 12, 2012 at 3:53 PM, Neal Becker wrote: > I've been bitten several times by this. > > logical_or (a, b, c) > > is silently accepted when I really meant > > logical_or (logical_or (a, b), c) > > because the logic functions are binary, where I expected them to be m-ary. > > Dunno if anyt

Re: [Numpy-discussion] m-ary logical functions

2012-07-12 Thread Martin Luessi
On Thu, Jul 12, 2012 at 10:53 AM, Neal Becker wrote: > I've been bitten several times by this. > > logical_or (a, b, c) > > is silently accepted when I really meant > > logical_or (logical_or (a, b), c) > > because the logic functions are binary, where I expected them to be m-ary. > > Dunno if any

Re: [Numpy-discussion] m-ary logical functions

2012-07-12 Thread Henry Gomersall
On Thu, 2012-07-12 at 16:21 +0100, Nathaniel Smith wrote: > On Thu, Jul 12, 2012 at 4:13 PM, Henry Gomersall > wrote: > > On Thu, 2012-07-12 at 10:53 -0400, Neal Becker wrote: > >> I've been bitten several times by this. > >> > >> logical_or (a, b, c) > >> > >> is silently accepted when I really m

Re: [Numpy-discussion] m-ary logical functions

2012-07-12 Thread Nathaniel Smith
On Thu, Jul 12, 2012 at 4:13 PM, Henry Gomersall wrote: > On Thu, 2012-07-12 at 10:53 -0400, Neal Becker wrote: >> I've been bitten several times by this. >> >> logical_or (a, b, c) >> >> is silently accepted when I really meant >> >> logical_or (logical_or (a, b), c) >> >> because the logic funct

Re: [Numpy-discussion] m-ary logical functions

2012-07-12 Thread Henry Gomersall
On Thu, 2012-07-12 at 10:53 -0400, Neal Becker wrote: > I've been bitten several times by this. > > logical_or (a, b, c) > > is silently accepted when I really meant > > logical_or (logical_or (a, b), c) > > because the logic functions are binary, where I expected them to be > m-ary. I don't

[Numpy-discussion] m-ary logical functions

2012-07-12 Thread Neal Becker
I've been bitten several times by this. logical_or (a, b, c) is silently accepted when I really meant logical_or (logical_or (a, b), c) because the logic functions are binary, where I expected them to be m-ary. Dunno if anything can be done about it. Sure would like it if they were m-ary and