ANN: NumPy 1.5.1

Ralf Gommers ralf.gommers at
Sun Nov 21 08:10:17 CET 2010


I am pleased to announce the availability of NumPy 1.5.1.

NumPy is the fundamental package needed for scientific computing with
Python. It contains:
* a powerful N-dimensional array object
* sophisticated (broadcasting) functions
* basic linear algebra functions
* basic Fourier transforms
* sophisticated random number capabilities
* tools for integrating Fortran code.

Besides it's obvious scientific uses, NumPy can also be used as an efficient
multi-dimensional container of generic data. Arbitrary data-types can be
defined. This allows NumPy to seamlessly and speedily integrate with a
wide-variety of databases.

This bug-fix release comes almost 3 months after the 1.5.0 release, it
contains no new features compared to 1.5.0. Binaries, sources and release
notes can be found at

Thank you to everyone who contributed to this release.

The numpy developers.

NumPy 1.5.1 Release Notes

Numpy 1.5.1 is a bug-fix release with no new features compared to 1.5.0.

Numpy source code location changed

Numpy has stopped using SVN as the version control system, and moved
to Git. The development source code for Numpy can from now on be found

Note on GCC versions

On non-x86 platforms, Numpy can trigger a bug in the recent GCC compiler
versions 4.5.0 and 4.5.1:
We recommend not using these versions of GCC for compiling Numpy
on these platforms.

Bugs fixed

Of the following, #1605 is important for Cython modules.

- #937:  linalg: lstsq should always return real residual
- #1196: lib: fix negative indices in s_ and index_exp
- #1287: core: fix uint64 -> Python int cast
- #1491: core: richcompare should return Py_NotImplemented when undefined
- #1517: lib: close file handles after use in numpy.lib.npyio.*
- #1605: core: ensure PEP 3118 buffers can be released in exception handler
- #1617: core: fix clongdouble cast to Python complex()
- #1625: core: fix detection for ``isfinite`` routine
- #1626: core: fix compilation with Solaris 10 / Sun Studio 12.1

Scipy could not be built against Numpy 1.5.0 on OS X due to a
bug, #1399. This issue is fixed now.

- #1399: distutils: use C arch flags for Fortran compilation on OS X.

Python 3 specific; #1610 is important for any I/O:

- #----: f2py: make f2py script runnable on Python 3
- #1604: distutils: potential infinite loop in numpy.distutils
- #1609: core: use accelerated BLAS, when available
- #1610: core: ensure tofile and fromfile maintain file handle positions

More information about the Python-announce-list mailing list