NumPy 1.16.5 发行说明#
NumPy 1.16.5 版本修复了针对 1.16.4 版本的 bug,并从 master 分支移植了一些增强功能,这些功能似乎适合作为最后一个支持 Python 2.7 的版本系列。PyPI 上的 wheel 文件链接的是 OpenBLAS v0.3.7-dev,这应该可以解决 Skylake 系列 CPU 上的错误。
下游开发者在构建此版本时应使用 Cython >= 0.29.2,如果使用 OpenBLAS,则应使用 OpenBLAS >= v0.3.7。支持的 Python 版本为 2.7 和 3.5-3.7。
贡献者#
总共有 18 人为该版本做出了贡献。名字旁边带有“+”的人是首次贡献补丁。
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
已合并的拉取请求#
此版本总共合并了 23 个 pull request。
#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.