[Numpy-discussion] Time for beta1 of NumPy 1.0

Robert Kern robert.kern at gmail.com
Fri Jun 30 11:53:02 CDT 2006


Tim Hochberg wrote:
> Regarding choice of float or int for default:
> 
> The number one priority for numpy should be to unify the three disparate 
> Python numeric packages. Whatever choice of defaults facilitates that is 
> what I support.

+10

> Personally, given no other constraints, I would probably just get rid of 
> the defaults all together and make the user choose.

My preferred solution is to add class methods to the scalar types rather than 
screw up compatibility.

In [1]: float64.ones(10)

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco





More information about the Numpy-discussion mailing list