summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-04-27 21:32:33 -0600
committerCharles Harris <charlesr.harris@gmail.com>2017-04-27 21:32:33 -0600
commit21b14aad410ad3b40e1609ec2cbed553e3f18c47 (patch)
tree0b2e3c86fbd248d090b7bb9a2e319913dbbbb214
parentc7f7199fe9907ab94024a422e626affcf1a64d14 (diff)
downloadnumpy-21b14aad410ad3b40e1609ec2cbed553e3f18c47.tar.gz
DOC: Document that the polynomial classes now opt out of ufuncs.
-rw-r--r--doc/release/1.13.0-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst
index b436a96e6..167b9d894 100644
--- a/doc/release/1.13.0-notes.rst
+++ b/doc/release/1.13.0-notes.rst
@@ -415,3 +415,10 @@ greater than ``mmap.ALLOCATIONGRANULARITY``.
Previously, ``np.real`` and ``np.imag`` used to return array objects when
provided a scalar input, which was inconsistent with other functions like
``np.angle`` and ``np.conj``.
+
+The polynomial convenience classes cannot be passed to ufuncs
+-------------------------------------------------------------
+The ABCPolyBase class, from which the convenience classes are derived, sets
+``__array_ufun__ = None`` in order of opt out of ufuncs. If a polynomial
+convenience class instance is passed as an argument to a ufunc, a ``TypeError``
+will now be raised.