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:具有命名組件的遮罩陣列行為不如預期

  • gh-2495:np.ma.compress 以錯誤的順序處理輸入

  • gh-576:新增 __len__ 方法到 ma.mvoid

  • gh-3364:降低 mmap 切片的效能回歸

  • gh-3421:修復 GetStridedCopySwap 中非交換步幅副本

  • gh-3373:修復 datetime metadata 初始化中的小洩漏

  • 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 上損壞

  • gh-3160:SandboxViolation 在 Mac OS X 10.8.3 上輕鬆安裝 1.7.0

  • gh-3871:npy_math.h 對於具有 SUNWspro12.2 的 Solaris 具有無效的 isinf

  • gh-2561:在 python3 中停用舊式類別的檢查

  • gh-3900:確保 NotImplemented 在 MaskedArray ufunc 中傳遞

  • gh-2052:del 純量下標導致分段錯誤

  • gh-3832:修復一些未初始化的使用和記憶體洩漏

  • gh-3971:f2py 將 string.lowercase 變更為 python3 的 string.ascii_lowercase

  • gh-3480:numpy.random.binomial 在 n == 0 時引發 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 中出現的一些問題