NumPy 1.16.5 Release Notes

The NumPy 1.16.5 release fixes bugs reported against the 1.16.4 release, and also backports several enhancements from master that seem appropriate for a release series that is the last to support Python 2.7. The wheels on PyPI are linked with OpenBLAS v0.3.7-dev, which should fix errors on Skylake series cpus.

Downstream developers building this release should use Cython >= 0.29.2 and, if using OpenBLAS, OpenBLAS >= v0.3.7. The supported Python versions are 2.7 and 3.5-3.7.

Contributors

A total of 18 people contributed to this release. People with a “+” by their names contributed a patch for the first time.

  • Alexander Shadchin

  • Allan Haldane

  • Bruce Merry +

  • Charles Harris

  • Colin Snyder +

  • Dan Allan +

  • Emile +

  • Eric Wieser

  • Grey Baker +

  • Maksim Shabunin +

  • Marten van Kerkwijk

  • Matti Picus

  • Peter Andreas Entschev +

  • Ralf Gommers

  • Richard Harris +

  • Sebastian Berg

  • Sergei Lebedev +

  • Stephan Hoyer

Pull requests merged

A total of 23 pull requests were merged for this release.

  • #13742: ENH: Add project URLs to setup.py

  • #13823: TEST, ENH: fix tests and ctypes code for PyPy

  • #13845: BUG: use npy_intp instead of int for indexing array

  • #13867: TST: Ignore DeprecationWarning during nose imports

  • #13905: BUG: Fix use-after-free in boolean indexing

  • #13933: MAINT/BUG/DOC: Fix errors in _add_newdocs

  • #13984: BUG: fix byte order reversal for datetime64[ns]

  • #13994: MAINT,BUG: Use nbytes to also catch empty descr during allocation

  • #14042: BUG: np.array cleared errors occurred in PyMemoryView_FromObject

  • #14043: BUG: Fixes for Undefined Behavior Sanitizer (UBSan) errors.

  • #14044: BUG: ensure that casting to/from structured is properly checked.

  • #14045: MAINT: fix histogram*d dispatchers

  • #14046: BUG: further fixup to histogram2d dispatcher.

  • #14052: BUG: Replace contextlib.suppress for Python 2.7

  • #14056: BUG: fix compilation of 3rd party modules with Py_LIMITED_API…

  • #14057: BUG: Fix memory leak in dtype from dict constructor

  • #14058: DOC: Document array_function at a higher level.

  • #14084: BUG, DOC: add new recfunctions to __all__

  • #14162: BUG: Remove stray print that causes a SystemError on python 3.7

  • #14297: TST: Pin pytest version to 5.0.1.

  • #14322: ENH: Enable huge pages in all Linux builds

  • #14346: BUG: fix behavior of structured_to_unstructured on non-trivial…

  • #14382: REL: Prepare for the NumPy 1.16.5 release.