[Numpy-discussion] Numpy 1.11.0 released

2016-03-27 Thread Charles R Harris
Hi All, I'm pleased to announce the release of Numpy 1.11.0. This release is the result of six months of work comprising 371 merged pull requests submitted by 112 authors containing many bug fixes and improvements. Highlights are: - The datetime64 type is now timezone naive. - A dtype param

Re: [Numpy-discussion] Why does asarray() create an intermediate memoryview?

2016-03-27 Thread Pauli Virtanen
Sun, 27 Mar 2016 17:00:51 -0400, Alexander Belopolsky kirjoitti: [clip] > Why can't a.base be base? What is the need for the intermediate > memoryview object? Implementation detail vs. life cycle management of buffer acquisitions. The PEP3118 Py_buffer structure representing an acquired buffer i

[Numpy-discussion] Why does asarray() create an intermediate memoryview?

2016-03-27 Thread Alexander Belopolsky
In the following session a numpy array is created from an stdlib array: In [1]: import array In [2]: base = array.array('i', [1, 2]) In [3]: a = np.asarray(base) In [4]: a.base Out[4]: In [5]: a.base.obj Out[5]: array('i', [1, 2]) In [6]: a.base.obj is base Out[6]: True Why can't a.base be

Re: [Numpy-discussion] ATLAS build errors

2016-03-27 Thread Pauli Virtanen
Sat, 26 Mar 2016 14:05:24 -0700, Matthew Brett kirjoitti: > I'm workon on building manylinux wheels for numpy, and I ran into > unexpected problems with a numpy built against the ATLAS 3.8 binaries > supplied by CentOS 5. [clip] > Does anyone recognize these? How should I modify the build to avoi

[Numpy-discussion] Behavior of .reduceat()

2016-03-27 Thread Jaime Fernández del Río
Two of the oldest issues in the tracker (#834 and #835 ) are about how .reduceat() handles its indices parameter. I have been taking a look at the source code, and it would be relatively easy to modify, the harde