Re: [Numpy-discussion] Fixing the dtype of np.full's return value

2015-09-27 Thread Nathaniel Smith
On Sep 27, 2015 12:58 PM, "Antony Lee" wrote: > > Hi all, > > The docstring of np.full indicates that the result of the dtype is `np.array(fill_value).dtype`, as long as the keyword argument `dtype` itself is not set. This is actually not the case: the current implementation always returns a floa

[Numpy-discussion] Fixing the dtype of np.full's return value

2015-09-27 Thread Antony Lee
Hi all, The docstring of np.full indicates that the result of the dtype is `np.array(fill_value).dtype`, as long as the keyword argument `dtype` itself is not set. This is actually not the case: the current implementation always returns a float array when `dtype` is not set, see e.g. In [1]: np.

[Numpy-discussion] Numpy 1.10.0rc2 coming Monday, Sep 28.

2015-09-27 Thread Charles R Harris
Hi All, Just a heads up. If you have encountered any unreported errors with rc1, please let us know. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion