NumPy 1.13.2 发行说明#
这是自 1.13.1 以来发现的一些问题的错误修复版本.最重要的修复是针对 CVE-2017-12852 和临时变量省略. 1.13 早期版本的用户应升级.
支持的 Python 版本是 2.7 和 3.4 - 3.6. 从 PIP 获得的 Python 3.6 wheels 是使用 Python 3.6.2 构建的,应该与之前的所有 Python 3.6 版本兼容. Windows wheels 现在使用 OpenBlas 而不是 ATLAS 构建,这应该可以提高线性代数函数的性能.
贡献者#
总共有 12 人为此版本做出了贡献.名字旁边带有 “+” 的人是第一次贡献补丁.
Allan Haldane
Brandon Carter
Charles Harris
Eric Wieser
Iryna Shcherbina +
James Bourbeau +
Jonathan Helmus
Julian Taylor
Matti Picus
Michael Lamparski +
Michael Seifert
Ralf Gommers
合并的拉取请求#
此版本总共合并了 20 个拉取请求.
#9390 BUG: 直接返回 poly1d 系数数组
#9555 BUG: 修复 1.13.x 中 distutils.mingw32ccompiler 的回归.
#9556 BUG: 修复指定 dtype=np.float64 时 true_divide 的错误.
#9557 DOC: 修复 numpy/doc/basics.py 中的一些 rst 标记.
#9558 BLD: 从 IntelFCompiler 中删除 -xhost 标志.
#9559 DOC: 删除损坏的 docstring 示例 (源代码, png, pdf)…
#9580 BUG: 将 hypot 和 cabs 函数添加到 WIN32 黑名单.
#9732 BUG: 使标量函数省略检查临时变量是否可写.
#9736 BUG: 对 np.gradient 的各种修复
#9742 BUG: 修复 np.pad 以解决 CVE-2017-12852
#9744 BUG: 检查排序函数中的异常,添加测试
#9745 DOC: 在 “versionadded::” 指令后添加空格,使其真正…
#9746 BUG: 大小为 0 的 np.dot 中的内存泄漏
#9747 BUG: 调整 gfortran 版本搜索正则表达式
#9757 BUG: Cython 0.27 破坏了 Python 3 上的 NumPy.
#9764 BUG: 确保在需要时定义 _npy_scaled_cexp{,f,l} .
#9765 BUG: PyArray_CountNonzero 不检查异常
#9766 BUG: 修复了无符号 bin 值的直方图单调性检查
#9767 BUG: 确保 count_nonzero 的结果 dtype 一致
#9771 BUG, MAINT: 修复 Cython 0.27 的 mtrand.