Re: [Numpy-discussion] Math Inspector Beta

2021-02-03 Thread Mansour Moufid
Very cool! But the Mac disk image (mathinspector_0.9.1.dmg) isn't opening ("corrupt image"). It's 145279488 bytes and the shasum ends with f1ed9231. ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/n

Re: [Numpy-discussion] Unreliable crash when converting using numpy.asarray via C buffer interface

2021-02-15 Thread Mansour Moufid
On Tue, Jan 26, 2021 at 3:50 AM Friedrich Romstedt wrote: > > Hi, > > This is with Python 3.8.2 64-bit and numpy 1.19.2 on Windows 10. I'd > like to be able to convert some C++ extension type to a numpy array by > using ``numpy.asarray``. The extension type implements the Python > buffer interfa

Re: [Numpy-discussion] Unreliable crash when converting using numpy.asarray via C buffer interface

2021-02-15 Thread Mansour Moufid
On Mon, Feb 15, 2021 at 7:35 PM Mansour Moufid wrote: > > On Tue, Jan 26, 2021 at 3:50 AM Friedrich Romstedt > wrote: > > > > Hi, > > > > This is with Python 3.8.2 64-bit and numpy 1.19.2 on Windows 10. I'd > > like to be able to convert some C++

[Numpy-discussion] Re: dtype=(bool) vs dtype=bool

2021-10-19 Thread Mansour Moufid
On Tue, Oct 19, 2021 at 9:43 AM wrote: > > See the following testing in IPython shell: > > In [6]: import numpy as np > > In [7]: a = np.array([1], dtype=(bool)) > > In [8]: b = np.array([1], dtype=bool) > > In [9]: a > Out[9]: array([ True]) > > In [10]: b > Out[10]: array([ True]) > > It seems t