8000 DOC: Add missing changelogs for NEP 52 PRs by mtsokol · Pull Request #24510 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Add missing changelogs for NEP 52 PRs #24510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add generated release notes for four PR that didn't have ones
  • Loading branch information
mtsokol committed Aug 23, 2023
commit 3fe9013e5e54ca934210e35b4fa5dc00c76f3c6f
32 changes: 32 additions & 0 deletions doc/source/release/2.0.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,38 @@ can use a variable explorer that is available in IDEs such as Spyder or Jupyter

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

* Multiple niche enums, expired members and functions have been removed from
the main namespace, such as: ``ERR_*``, ``SHIFT_*``, ``np.fastCopyAndTranspose``,
``np.kernel_version``, ``np.numarray``, ``np.oldnumeric`` and ``np.set_numeric_ops``.

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

* Replaced ``from ... import *`` in the ``numpy/__init__.py`` with explicit imports.
As a result, these main namespace members got removed: ``np.FLOATING_POINT_SUPPORT``,
``np.FPE_*``, ``np.NINF``, ``np.PINF``, ``np.NZERO``, ``np.PZERO``, ``np.CLIP``,
``np.WRAP``, ``np.WRAP``, ``np.RAISE``, ``np.BUFSIZE``, ``np.UFUNC_BUFSIZE_DEFAULT``,
``np.UFUNC_PYVALS_NAME``, ``np.ALLOW_THREADS``, ``np.MAXDIMS``, ``np.MAY_SHARE_EXACT``,
``np.MAY_SHARE_BOUNDS``, ``add_newdoc``, ``np.add_docstring`` and
``np.add_newdoc_ufunc``.

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


Deprecations
============

* ``np.compat`` has been deprecated, as Python 2 is no longer supported.

* ``np.safe_eval`` has been deprecated. ``ast.literal_eval`` should be used instead.

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

* ``np.recfromcsv``, ``np.recfromtxt``, ``np.disp``, ``np.get_array_wrap``,
``np.maximum_sctype``, ``np.deprecate`` and ``np.deprecate_with_doc``
have been deprecated.

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


Expired deprecations
====================
Expand Down
0