[Numpy-discussion] random.uniform documentation bug?

Friedrich Romstedt friedrichromstedt at gmail.com
Tue Feb 23 15:51:36 EST 2010


2010/2/23 Robert Kern <robert.kern at gmail.com>:
> It helps a little, I agree, but not as much as simply changing the
> names to something neutral like (a, b) as in the standard library. The
> necessity for a backwards compatibility hack imposes additional costs
> to making any such change. I don't think those costs are warranted by
> the semantic confusion of allowing high < low.

I agree fully.  The (a, b) thing is the most elegant.  And I also
agree that the overhead renders it nearly useless, when one focuses on
speed.

Sorry for making noise again with an unmature thought.  It just came
into my mind and looked so cute ... :-(

Friedrich



More information about the NumPy-Discussion mailing list