NumPy 1.7.2 发行说明#

这是 1.7.x 系列中的一个仅修复错误的发行版.它支持 Python 2.4 - 2.7 和 3.1 - 3.3,并且是支持 Python 2.4 - 2.5 的最后一个系列.

修复的问题#

  • gh-3153: 当缓冲区未充分填充时,不要重用 nditer 缓冲区

  • gh-3192: f2py 因 UnboundLocalError 异常崩溃

  • gh-442: 现在,使用 axis=None 进行连接需要相等数量的数组元素

  • gh-2485: 修复 astype(‘S’) 字符串截断问题

  • gh-3312: count_nonzero 中的错误

  • gh-2684: numpy.ma.average 在特定条件下将复数转换为浮点数

  • gh-2403: 具有命名组件的 masked array 行为不如预期

  • gh-2495: np.ma.compress 以错误的顺序处理输入

  • gh-576: 向 ma.mvoid 添加 __len__ 方法

  • gh-3364: 减少 mmap 切片的性能下降

  • gh-3421: 修复 GetStridedCopySwap 中的非交换步幅副本

  • gh-3373: 修复 datetime 元数据初始化中的小泄漏

  • gh-2791: 将平台特定的 python include 目录添加到搜索路径

  • gh-3168: 修复未定义的函数并添加整数除法

  • gh-3301: memmap 在 python3 中不适用于 TemporaryFile

  • gh-3057: distutils.misc_util.get_shared_lib_extension 返回错误的调试扩展名

  • gh-3472: 将模块扩展添加到 load_library 搜索列表

  • gh-3324: 使比较函数(gt,ge,…)尊重 __array_priority__

  • gh-3497: np.insert 与参数 ‘axis=-1’ 行为不正确

  • gh-3541: 使 halffloat.c 中的预处理器测试保持一致

  • gh-3458: array_ass_boolean_subscript() 将“不存在的”数据写入数组

  • gh-2892: ufunc.reduceat 中,使用零大小索引数组的回归

  • gh-3608: 从元组填充结构时的回归

  • gh-3701: 添加对 Python 3.4 ast.NameConstant 的支持

  • gh-3712: 不要假设在 xerbla 中启用了 GIL

  • gh-3712: 修复 lapack_litemodule 中的 LAPACK 错误处理

  • gh-3728: f2py 修复了错误对象上的 decref

  • gh-3743: Hash 在 Python 3.3 中更改了签名

  • gh-3793: 64 位 python3 上标量 int 哈希中断

  • gh-3160: 在 Mac OS X 10.8.3 上 easyinstalling 1.7.0 的 SandboxViolation

  • gh-3871: npy_math.h 对于使用 SUNWspro12.2 的 Solaris 具有无效的 isinf

  • gh-2561: 在 python3 中禁用旧式类的检查

  • gh-3900: 确保在 MaskedArray ufunc 中传递 NotImplemented

  • gh-2052: 删除标量下标会导致段错误

  • gh-3832: 修复一些未初始化的使用和内存泄漏

  • gh-3971: f2py 将 string.lowercase 更改为 string.ascii_lowercase 以支持 python3

  • gh-3480: 当 n == 0 时,numpy.random.binomial 引发 ValueError

  • gh-3992: hypot(inf, 0) 不应该引发警告,hypot(inf, inf) 结果错误

  • gh-4018: 处理非常大的数组时出现段错误

  • gh-4094: 修复 _strided_to_strided_string_to_datetime 中的 NaT 处理

  • gh-4051: 修复 _strided_to_strided_string_to_datetime 中未初始化的使用

  • gh-4123: lexsort 段错误

  • gh-4141: 修复 python 3.4b1 中出现的一些问题