Skip to content

Commit

Permalink
Merge pull request #4005 from juliantaylor/release-notes-1.7
Browse files Browse the repository at this point in the history
Add 1.7.2 release notes and fix some layout issues
  • Loading branch information
Julian Taylor committed Nov 3, 2013
2 parents 8292fe9 + d86c318 commit c179406
Show file tree
Hide file tree
Showing 10 changed files with 222 additions and 175 deletions.
5 changes: 2 additions & 3 deletions doc/release/1.3.0-notes.rst
@@ -1,6 +1,5 @@
=========================
NumPy 1.3.0 Release Notes
=========================
*************************

This minor includes numerous bug fixes, official python 2.6 support, and
several new features such as generalized ufuncs.
Expand Down Expand Up @@ -180,7 +179,7 @@ The following functions have been added to the multiarray C API:
* PyArray_GetEndianness: to get runtime endianness

Ufunc API
~~~~~~~~~~~~~~
~~~~~~~~~

The following functions have been added to the ufunc API:

Expand Down
3 changes: 1 addition & 2 deletions doc/release/1.4.0-notes.rst
@@ -1,6 +1,5 @@
=========================
NumPy 1.4.0 Release Notes
=========================
*************************

This minor includes numerous bug fixes, as well as a few new features. It
is backward compatible with 1.3.0 release.
Expand Down
25 changes: 12 additions & 13 deletions doc/release/1.5.0-notes.rst
@@ -1,18 +1,17 @@
=========================
NumPy 1.5.0 Release Notes
=========================
*************************


Highlights
==========

Python 3 compatibility
----------------------
~~~~~~~~~~~~~~~~~~~~~~

This is the first NumPy release which is compatible with Python 3. Support for
Python 3 and Python 2 is done from a single code base. Extensive notes on
changes can be found at
`<http://projects.scipy.org/numpy/browser/trunk/doc/Py3K.txt>`_.
`<http://projects.scipy.org/numpy/browser/trunk/doc/Py3K.txt>`_.

Note that the Numpy testing framework relies on nose, which does not have a
Python 3 compatible release yet. A working Python 3 branch of nose can be found
Expand All @@ -21,7 +20,7 @@ at `<http://bitbucket.org/jpellerin/nose3/>`_ however.
Porting of SciPy to Python 3 is expected to be completed soon.

:pep:`3118` compatibility
-------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~

The new buffer protocol described by PEP 3118 is fully supported in this
version of Numpy. On Python versions >= 2.6 Numpy arrays expose the buffer
Expand All @@ -33,7 +32,7 @@ New features
============

Warning on casting complex to real
----------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Numpy now emits a `numpy.ComplexWarning` when a complex number is cast
into a real number. For example:
Expand All @@ -50,7 +49,7 @@ turned off in the standard way:
>>> warnings.simplefilter("ignore", np.ComplexWarning)

Dot method for ndarrays
-----------------------
~~~~~~~~~~~~~~~~~~~~~~~

Ndarrays now have the dot product also as a method, which allows writing
chains of matrix products as
Expand All @@ -62,15 +61,15 @@ instead of the longer alternative
>>> np.dot(a, np.dot(b, c))

linalg.slogdet function
-----------------------
~~~~~~~~~~~~~~~~~~~~~~~

The slogdet function returns the sign and logarithm of the determinant
of a matrix. Because the determinant may involve the product of many
small/large values, the result is often more accurate than that obtained
by simple multiplication.

new header
----------
~~~~~~~~~~

The new header file ndarraytypes.h contains the symbols from
ndarrayobject.h that do not depend on the PY_ARRAY_UNIQUE_SYMBOL and
Expand All @@ -85,7 +84,7 @@ Changes
=======

polynomial.polynomial
---------------------
~~~~~~~~~~~~~~~~~~~~~

* The polyint and polyder functions now check that the specified number
integrations or derivations is a non-negative integer. The number 0 is
Expand All @@ -101,7 +100,7 @@ polynomial.polynomial
* The polymulx function was added.

polynomial.chebyshev
--------------------
~~~~~~~~~~~~~~~~~~~~

* The chebint and chebder functions now check that the specified number
integrations or derivations is a non-negative integer. The number 0 is
Expand All @@ -119,13 +118,13 @@ polynomial.chebyshev


histogram
---------
~~~~~~~~~

After a two years transition period, the old behavior of the histogram function
has been phased out, and the "new" keyword has been removed.

correlate
---------
~~~~~~~~~

The old behavior of correlate was deprecated in 1.4.0, the new behavior (the
usual definition for cross-correlation) is now the default.
31 changes: 15 additions & 16 deletions doc/release/1.6.0-notes.rst
@@ -1,6 +1,5 @@
=========================
NumPy 1.6.0 Release Notes
=========================
*************************

This release includes several new features as well as numerous bug fixes and
improved documentation. It is backward compatible with the 1.5.0 release, and
Expand All @@ -21,7 +20,7 @@ New features
============

New 16-bit floating point type
------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This release adds support for the IEEE 754-2008 binary16 format, available as
the data type ``numpy.half``. Within Python, the type behaves similarly to
Expand All @@ -30,7 +29,7 @@ half-float API.


New iterator
------------
~~~~~~~~~~~~

A new iterator has been added, replacing the functionality of the
existing iterator and multi-iterator with a single object and API.
Expand All @@ -43,7 +42,7 @@ iterator.


Legendre, Laguerre, Hermite, HermiteE polynomials in ``numpy.polynomial``
-------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Extend the number of polynomials available in the polynomial package. In
addition, a new ``window`` attribute has been added to the classes in
Expand All @@ -54,7 +53,7 @@ of values without playing unnatural tricks with the domain.


Fortran assumed shape array and size function support in ``numpy.f2py``
-----------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

F2py now supports wrapping Fortran 90 routines that use assumed shape
arrays. Before such routines could be called from Python but the
Expand All @@ -68,7 +67,7 @@ that use two argument ``size`` function in dimension specifications.


Other new functions
-------------------
~~~~~~~~~~~~~~~~~~~

``numpy.ravel_multi_index`` : Converts a multi-index tuple into
an array of flat indices, applying boundary modes to the indices.
Expand All @@ -91,30 +90,30 @@ Changes
=======

``default error handling``
--------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~

The default error handling has been change from ``print`` to ``warn`` for
all except for ``underflow``, which remains as ``ignore``.


``numpy.distutils``
-------------------
~~~~~~~~~~~~~~~~~~~

Several new compilers are supported for building Numpy: the Portland Group
Fortran compiler on OS X, the PathScale compiler suite and the 64-bit Intel C
compiler on Linux.


``numpy.testing``
-----------------
~~~~~~~~~~~~~~~~~

The testing framework gained ``numpy.testing.assert_allclose``, which provides
a more convenient way to compare floating point arrays than
`assert_almost_equal`, `assert_approx_equal` and `assert_array_almost_equal`.


``C API``
---------
~~~~~~~~~

In addition to the APIs for the new iterator and half data type, a number
of other additions have been made to the C API. The type promotion
Expand All @@ -138,29 +137,29 @@ Removed features
================

``numpy.fft``
-------------
~~~~~~~~~~~~~

The functions `refft`, `refft2`, `refftn`, `irefft`, `irefft2`, `irefftn`,
which were aliases for the same functions without the 'e' in the name, were
removed.


``numpy.memmap``
----------------
~~~~~~~~~~~~~~~~

The `sync()` and `close()` methods of memmap were removed. Use `flush()` and
"del memmap" instead.


``numpy.lib``
-------------
~~~~~~~~~~~~~

The deprecated functions ``numpy.unique1d``, ``numpy.setmember1d``,
``numpy.intersect1d_nu`` and ``numpy.lib.ufunclike.log2`` were removed.


``numpy.ma``
------------
~~~~~~~~~~~~

Several deprecated items were removed from the ``numpy.ma`` module::

Expand All @@ -171,7 +170,7 @@ Several deprecated items were removed from the ``numpy.ma`` module::


``numpy.distutils``
-------------------
~~~~~~~~~~~~~~~~~~~

The ``numpy.get_numpy_include`` function was removed, use ``numpy.get_include``
instead.
30 changes: 14 additions & 16 deletions doc/release/1.6.1-notes.rst
@@ -1,22 +1,20 @@
=========================
NumPy 1.6.1 Release Notes
=========================
*************************

This is a bugfix only release in the 1.6.x series.


Issues fixed
------------

#1834 einsum fails for specific shapes
#1837 einsum throws nan or freezes python for specific array shapes
#1838 object <-> structured type arrays regression
#1851 regression for SWIG based code in 1.6.0
#1863 Buggy results when operating on array copied with astype()
#1870 Fix corner case of object array assignment
#1843 Py3k: fix error with recarray
#1885 nditer: Error in detecting double reduction loop
#1874 f2py: fix --include_paths bug
#1749 Fix ctypes.load_library()
#1895/1896 iter: writeonly operands weren't always being buffered correctly
Issues Fixed
============

* #1834: einsum fails for specific shapes
* #1837: einsum throws nan or freezes python for specific array shapes
* #1838: object <-> structured type arrays regression
* #1851: regression for SWIG based code in 1.6.0
* #1863: Buggy results when operating on array copied with astype()
* #1870: Fix corner case of object array assignment
* #1843: Py3k: fix error with recarray
* #1885: nditer: Error in detecting double reduction loop
* #1874: f2py: fix --include_paths bug
* #1749: Fix ctypes.load_library()
* #1895/1896: iter: writeonly operands weren't always being buffered correctly

0 comments on commit c179406

Please sign in to comment.