Re: [Numpy-discussion] [SciPy-Dev] NumPy 1.18.3 released.

2020-04-19 Thread Warren Weckesser
On 4/19/20, Charles R Harris wrote: > Hi All, > > On behalf of the NumPy team I am pleased to announce that NumPy 1.18.3 has > been released. This release contains various bug/regression fixes for the > 1.18 series Thanks Chuck! Warren > > The Python versions supported in this release are 3.5-

[Numpy-discussion] NumPy 1.18.3 released.

2020-04-19 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.18.3 has been released. This release contains various bug/regression fixes for the 1.18 series The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.15 for Python 3.8 sup

Re: [Numpy-discussion] Using scalar constructors to produce arrays

2020-04-19 Thread Sebastian Berg
On Sun, 2020-04-19 at 21:07 +0200, Ralf Gommers wrote: > On Sun, Apr 19, 2020 at 8:47 PM Joshua Wilson < > josh.craig.wil...@gmail.com> > wrote: > > > Over in the NumPy stubs there's an issue > > > > https://github.com/numpy/numpy-stubs/issues/41 > > > > which points out that you can in fact do

Re: [Numpy-discussion] Using scalar constructors to produce arrays

2020-04-19 Thread Ralf Gommers
On Sun, Apr 19, 2020 at 8:47 PM Joshua Wilson wrote: > Over in the NumPy stubs there's an issue > > https://github.com/numpy/numpy-stubs/issues/41 > > which points out that you can in fact do something like > > ``` > np.float32([1.0, 0.0, 0.0]) > ``` > > to construct an ndarray of float32. It see

[Numpy-discussion] Using scalar constructors to produce arrays

2020-04-19 Thread Joshua Wilson
Over in the NumPy stubs there's an issue https://github.com/numpy/numpy-stubs/issues/41 which points out that you can in fact do something like ``` np.float32([1.0, 0.0, 0.0]) ``` to construct an ndarray of float32. It seems to me that though you can do that, it is not a best practice, and one