diff --git a/doc/release/1.3.0-notes.rst b/doc/release/1.3.0-notes.rst index fc7edddfe95c..73743bbcfb32 100644 --- a/doc/release/1.3.0-notes.rst +++ b/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. @@ -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: diff --git a/doc/release/1.4.0-notes.rst b/doc/release/1.4.0-notes.rst index 5429f8e76d51..9e3819229d79 100644 --- a/doc/release/1.4.0-notes.rst +++ b/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. diff --git a/doc/release/1.5.0-notes.rst b/doc/release/1.5.0-notes.rst index 94cf89ff749d..e9e36f0de652 100644 --- a/doc/release/1.5.0-notes.rst +++ b/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 -``_. +``_. 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 @@ -21,7 +20,7 @@ at ``_ 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 @@ -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: @@ -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 @@ -62,7 +61,7 @@ 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 @@ -70,7 +69,7 @@ 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 @@ -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 @@ -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 @@ -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. diff --git a/doc/release/1.6.0-notes.rst b/doc/release/1.6.0-notes.rst index c5f53a0eb387..e2c71e35c717 100644 --- a/doc/release/1.6.0-notes.rst +++ b/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 @@ -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 @@ -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. @@ -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 @@ -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 @@ -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. @@ -91,14 +90,14 @@ 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 @@ -106,7 +105,7 @@ 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 @@ -114,7 +113,7 @@ a more convenient way to compare floating point arrays than ``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 @@ -138,7 +137,7 @@ 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 @@ -146,21 +145,21 @@ 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:: @@ -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. diff --git a/doc/release/1.6.1-notes.rst b/doc/release/1.6.1-notes.rst index 5f59cb743801..b5e97b97e008 100644 --- a/doc/release/1.6.1-notes.rst +++ b/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 diff --git a/doc/release/1.6.2-notes.rst b/doc/release/1.6.2-notes.rst index 7b62e6c93aa2..d73d80981f5c 100644 --- a/doc/release/1.6.2-notes.rst +++ b/doc/release/1.6.2-notes.rst @@ -1,90 +1,92 @@ -========================= NumPy 1.6.2 Release Notes -========================= +************************* This is a bugfix release in the 1.6.x series. Due to the delay of the NumPy 1.7.0 release, this release contains far more fixes than a regular NumPy bugfix release. It also includes a number of documentation and build improvements. - -``numpy.core`` issues fixed ---------------------------- - -#2063 make unique() return consistent index -#1138 allow creating arrays from empty buffers or empty slices -#1446 correct note about correspondence vstack and concatenate -#1149 make argmin() work for datetime -#1672 fix allclose() to work for scalar inf -#1747 make np.median() work for 0-D arrays -#1776 make complex division by zero to yield inf properly -#1675 add scalar support for the format() function -#1905 explicitly check for NaNs in allclose() -#1952 allow floating ddof in std() and var() -#1948 fix regression for indexing chararrays with empty list -#2017 fix type hashing -#2046 deleting array attributes causes segfault -#2033 a**2.0 has incorrect type -#2045 make attribute/iterator_element deletions not segfault -#2021 fix segfault in searchsorted() -#2073 fix float16 __array_interface__ bug - - -``numpy.lib`` issues fixed --------------------------- - -#2048 break reference cycle in NpzFile -#1573 savetxt() now handles complex arrays -#1387 allow bincount() to accept empty arrays -#1899 fixed histogramdd() bug with empty inputs -#1793 fix failing npyio test under py3k -#1936 fix extra nesting for subarray dtypes -#1848 make tril/triu return the same dtype as the original array -#1918 use Py_TYPE to access ob_type, so it works also on Py3 - - -``numpy.f2py`` changes ----------------------- - -ENH: Introduce new options extra_f77_compiler_args and extra_f90_compiler_args -BLD: Improve reporting of fcompiler value -BUG: Fix f2py test_kind.py test - - -``numpy.poly`` changes ----------------------- - -ENH: Add some tests for polynomial printing -ENH: Add companion matrix functions -DOC: Rearrange the polynomial documents -BUG: Fix up links to classes -DOC: Add version added to some of the polynomial package modules -DOC: Document xxxfit functions in the polynomial package modules -BUG: The polynomial convenience classes let different types interact -DOC: Document the use of the polynomial convenience classes -DOC: Improve numpy reference documentation of polynomial classes -ENH: Improve the computation of polynomials from roots -STY: Code cleanup in polynomial [*]fromroots functions -DOC: Remove references to cast and NA, which were added in 1.7 - - -``numpy.distutils`` issues fixed -------------------------------- - -#1261 change compile flag on AIX from -O5 to -O3 -#1377 update HP compiler flags -#1383 provide better support for C++ code on HPUX -#1857 fix build for py3k + pip -BLD: raise a clearer warning in case of building without cleaning up first -BLD: follow build_ext coding convention in build_clib -BLD: fix up detection of Intel CPU on OS X in system_info.py -BLD: add support for the new X11 directory structure on Ubuntu & co. -BLD: add ufsparse to the libraries search path. -BLD: add 'pgfortran' as a valid compiler in the Portland Group -BLD: update version match regexp for IBM AIX Fortran compilers. - - -``numpy.random`` issues fixed ------------------------------ - -BUG: Use npy_intp instead of long in mtrand - +Issues fixed +============ + +``numpy.core`` +~~~~~~~~~~~~~~ + +* #2063: make unique() return consistent index +* #1138: allow creating arrays from empty buffers or empty slices +* #1446: correct note about correspondence vstack and concatenate +* #1149: make argmin() work for datetime +* #1672: fix allclose() to work for scalar inf +* #1747: make np.median() work for 0-D arrays +* #1776: make complex division by zero to yield inf properly +* #1675: add scalar support for the format() function +* #1905: explicitly check for NaNs in allclose() +* #1952: allow floating ddof in std() and var() +* #1948: fix regression for indexing chararrays with empty list +* #2017: fix type hashing +* #2046: deleting array attributes causes segfault +* #2033: a**2.0 has incorrect type +* #2045: make attribute/iterator_element deletions not segfault +* #2021: fix segfault in searchsorted() +* #2073: fix float16 __array_interface__ bug + + +``numpy.lib`` +~~~~~~~~~~~~~ + +* #2048: break reference cycle in NpzFile +* #1573: savetxt() now handles complex arrays +* #1387: allow bincount() to accept empty arrays +* #1899: fixed histogramdd() bug with empty inputs +* #1793: fix failing npyio test under py3k +* #1936: fix extra nesting for subarray dtypes +* #1848: make tril/triu return the same dtype as the original array +* #1918: use Py_TYPE to access ob_type, so it works also on Py3 + + +``numpy.distutils`` +~~~~~~~~~~~~~~~~~~~ + +* #1261: change compile flag on AIX from -O5 to -O3 +* #1377: update HP compiler flags +* #1383: provide better support for C++ code on HPUX +* #1857: fix build for py3k + pip +* BLD: raise a clearer warning in case of building without cleaning up first +* BLD: follow build_ext coding convention in build_clib +* BLD: fix up detection of Intel CPU on OS X in system_info.py +* BLD: add support for the new X11 directory structure on Ubuntu & co. +* BLD: add ufsparse to the libraries search path. +* BLD: add 'pgfortran' as a valid compiler in the Portland Group +* BLD: update version match regexp for IBM AIX Fortran compilers. + + +``numpy.random`` +~~~~~~~~~~~~~~~~ + +* BUG: Use npy_intp instead of long in mtrand + +Changes +======= + +``numpy.f2py`` +~~~~~~~~~~~~~~ + +* ENH: Introduce new options extra_f77_compiler_args and extra_f90_compiler_args +* BLD: Improve reporting of fcompiler value +* BUG: Fix f2py test_kind.py test + + +``numpy.poly`` +~~~~~~~~~~~~~~ + +* ENH: Add some tests for polynomial printing +* ENH: Add companion matrix functions +* DOC: Rearrange the polynomial documents +* BUG: Fix up links to classes +* DOC: Add version added to some of the polynomial package modules +* DOC: Document xxxfit functions in the polynomial package modules +* BUG: The polynomial convenience classes let different types interact +* DOC: Document the use of the polynomial convenience classes +* DOC: Improve numpy reference documentation of polynomial classes +* ENH: Improve the computation of polynomials from roots +* STY: Code cleanup in polynomial [*]fromroots functions +* DOC: Remove references to cast and NA, which were added in 1.7 diff --git a/doc/release/1.7.0-notes.rst b/doc/release/1.7.0-notes.rst index 26b098b1614e..754e282b03ed 100644 --- a/doc/release/1.7.0-notes.rst +++ b/doc/release/1.7.0-notes.rst @@ -1,6 +1,5 @@ -========================= NumPy 1.7.0 Release Notes -========================= +************************* This release includes several new features as well as numerous bug fixes and refactorings. It supports Python 2.4 - 2.7 and 3.1 - 3.3 and is the last @@ -67,7 +66,7 @@ New features ============ Reduction UFuncs Generalize axis= Parameter -------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Any ufunc.reduce function call, as well as other reductions like sum, prod, any, all, max and min support the ability to choose a subset of the axes to @@ -76,7 +75,7 @@ axis=# to pick a single axis. Now, one can also say axis=(#,#) to pick a list of axes for reduction. Reduction UFuncs New keepdims= Parameter ----------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There is a new keepdims= parameter, which if set to True, doesn't throw away the reduction axes but instead sets them to have size one. When this @@ -84,7 +83,7 @@ option is set, the reduction result will broadcast correctly to the original operand which was reduced. Datetime support ----------------- +~~~~~~~~~~~~~~~~ .. note:: The datetime API is *experimental* in 1.7.0, and may undergo changes in future versions of NumPy. @@ -105,26 +104,26 @@ The notes in `doc/source/reference/arrays.datetime.rst