Skip to content

Commit 6ed2008

Browse files
committed
DOC: mention the exceptions namespace in the 2.0.0 release notes
Closes numpygh-25966 [skip actions] [skip azp] [skip cirrus]
1 parent afea8fd commit 6ed2008

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/source/release/2.0.0-notes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ NumPy 2.0 Python API removals
149149

150150
(`gh-24321 <https://github.com/numpy/numpy/pull/24321>`__)
151151

152+
* Warnings and exceptions present in `numpy.exceptions` (e.g,
153+
`~numpy.exceptions.ComplexWarning`,
154+
`~numpy.exceptions.VisibleDeprecationWarning`) are no longer exposed in the
155+
main namespace.
152156
* Multiple niche enums, expired members and functions have been removed from
153157
the main namespace, such as: ``ERR_*``, ``SHIFT_*``, ``np.fastCopyAndTranspose``,
154158
``np.kernel_version``, ``np.numarray``, ``np.oldnumeric`` and ``np.set_numeric_ops``.

0 commit comments

Comments
 (0)