summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAllan Haldane <ealloc@gmail.com>2017-09-28 17:51:35 +0200
committerGitHub <noreply@github.com>2017-09-28 17:51:35 +0200
commitcea77c21cd0907afc0093b7301d7824d73f7c740 (patch)
treeaff42687b117d5bf0fa89a32c79675987ea8d048 /doc
parenteb5dd4128e8323f5c4af089d2fea85e6159dd739 (diff)
parent0f63efa619a1f6dc0a2673be026c042807e31807 (diff)
downloadnumpy-cea77c21cd0907afc0093b7301d7824d73f7c740.tar.gz
Merge pull request #9784 from eric-wieser/fix-void-recursion
BUG: remove voidtype-repr recursion in scalartypes.c/arrayprint.py
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.14.0-notes.rst17
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/release/1.14.0-notes.rst b/doc/release/1.14.0-notes.rst
index c9f1cec76..3224b80fd 100644
--- a/doc/release/1.14.0-notes.rst
+++ b/doc/release/1.14.0-notes.rst
@@ -256,17 +256,24 @@ Changes
0d arrays now use the array2string formatters to print their elements, like
other arrays. The ``style`` argument of ``array2string`` is now non-functional.
+User-defined types now need to implement ``__str__`` and ``__repr__``
+---------------------------------------------------------------------
+Previously, user-defined types could fall back to a default implementation of
+``__str__`` and ``__repr__`` implemented in numpy, but this has now been
+removed. Now user-defined types will fall back to the python default
+``object.__str__`` and ``object.__repr__``.
+
``np.linalg.matrix_rank`` is more efficient for hermitian matrices
------------------------------------------------------------------
The keyword argument ``hermitian`` was added to toggle between standard
SVD-based matrix rank calculation and the more efficient eigenvalue-based
method for symmetric/hermitian matrices.
-Integer scalars are now unaffected by ``np.set_string_function``
-----------------------------------------------------------------
-Previously the str/repr of integer scalars could be controlled by
-``np.set_string_function``, unlike most other numpy scalars. This is no longer
-the case.
+Integer and Void scalars are now unaffected by ``np.set_string_function``
+-------------------------------------------------------------------------
+Previously the ``str`` and ``repr`` of integer and void scalars could be
+controlled by ``np.set_string_function``, unlike most other numpy scalars. This
+is no longer the case.
Multiple-field indexing/assignment of structured arrays
-------------------------------------------------------