[Numpy-discussion] Silent Broadcasting considered harmful

Charles R Harris charlesr.harris at gmail.com
Sun Feb 8 16:17:51 EST 2015


On Sun, Feb 8, 2015 at 2:14 PM, Stefan Reiterer <domors at gmx.net> wrote:

> Yeah I'm aware of that, that's the reason why I suggested a warning level
> as an alternative.
> Setting no warnings as default would avoid breaking existing code.
>  *Gesendet:* Sonntag, 08. Februar 2015 um 22:08 Uhr
> *Von:* "Eelco Hoogendoorn" <hoogendoorn.eelco at gmail.com>
> *An:* "Discussion of Numerical Python" <numpy-discussion at scipy.org>
> *Betreff:* Re: [Numpy-discussion] Silent Broadcasting considered harmful
> > I personally use Octave and/or Numpy  for several years now and never
> ever needed braodcasting.
> But since it is still there there will be many users who need it, there
> will be some use for it.
>
> Uhm, yeah, there is some use for it. Im all for explicit over implicit,
> but personally current broadcasting rules have never bothered me, certainly
> not to the extent of justifying massive backwards compatibility violations.
> Take It from someone who relies on broadcasting for every other line of
> code.
>
>
>
It's how numpy works. It would be like getting into your car and being
warned that it has wheels.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150208/efbd8f5c/attachment.html>


More information about the NumPy-Discussion mailing list