Skip to content

Commit

Permalink
Merge pull request numpy#15351 from mattip/reword
Browse files Browse the repository at this point in the history
DOC, BLD: reword release note, upgrade sphinx version
  • Loading branch information
seberg authored Jan 21, 2020
2 parents 5b7d62a + ca85d71 commit 19b96a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python3 -m venv venv
ln -s $(which python3) venv/bin/python3.6
. venv/bin/activate
pip install cython sphinx==2.2.0 matplotlib ipython
pip install cython sphinx==2.3.1 matplotlib ipython
sudo apt-get update
sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-generic-extra latexmk texlive-xetex
Expand Down
8 changes: 5 additions & 3 deletions doc/release/upcoming_changes/15217.deprecation.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Passing ``shape=0`` to factory functions in ``numpy.rec`` is deprecated
-----------------------------------------------------------------------

``0`` is treated as a special case by these functions, which aliases to
``None``. In future, ``0`` will not be a special case, and will be treated
as an array length like any other integer is. The affected functions are:
``0`` is treated as a special case and is aliased to ``None`` in the functions:

* `numpy.core.records.fromarrays`
* `numpy.core.records.fromrecords`
* `numpy.core.records.fromstring`
* `numpy.core.records.fromfile`

In future, ``0`` will not be special cased, and will be treated as an array
length like any other integer.

0 comments on commit 19b96a1

Please sign in to comment.