summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/release/2.0.0-notes.rst21
1 files changed, 16 insertions, 5 deletions
diff --git a/doc/release/2.0.0-notes.rst b/doc/release/2.0.0-notes.rst
index 2c9912f33..3f8b8bd0b 100644
--- a/doc/release/2.0.0-notes.rst
+++ b/doc/release/2.0.0-notes.rst
@@ -161,15 +161,26 @@ The following macros now require trailing semicolons::
Deprecations
============
+General
+-------
+
Specifying a custom string formatter with a `_format` array attribute is
deprecated. The new `formatter` keyword in ``numpy.set_printoptions`` or
``numpy.array2string`` can be used instead.
-In the C API, direct access to the fields of PyArrayObject* has been
-deprecated. Direct access has been recommended against for many releases, but
-now you can test your code against the deprecated C API by #defining
+The deprecated imports in the polynomial package have been removed.
+
+C-API
+-----
+
+Direct access to the fields of PyArrayObject* has been
+deprecated. Direct access has been recommended against for many releases.
+
+The macros in old_defines.h are deprecated and will be removed in the next
+major release. The sed script tools/replace_old_macros.sed can be used to
+replace these macros with the newer versions.
+
+You can test your code against the deprecated C API by #defining
NPY_NO_DEPRECATED_API before including any NumPy headers. Expect
something similar for PyArray_Descr* and other core objects in the
future as preparation for NumPy 2.0.
-
-The deprecated imports in the polynomial package have been removed.