v2.2.2
📦 numpyView on GitHub →
🐛 15 fixes🔧 11 symbols
Summary
NumPy 2.2.2 is a patch release focused primarily on fixing bugs and improving type hinting accuracy across various operations and functions.
🐛 Bug Fixes
- Fixed an issue where void arrays did not accept str keys in __setitem__.
- Fixed unnecessarily broad integer binop return types.
- Improved ndarray binop return types for float64.
- Fixed issubdtype to return the correct bool value.
- Fixed datetime64 constructor to always accept date[time] types.
- Fixed auxdata initialization in the ufunc slow path.
- Moved reduction initialization to ufunc initialization.
- Fixed interp function to accept and return scalars.
- Fixed f2py to call PyType_Ready to avoid data races.
- Removed unnecessary call to PyArray_UpdateFlags.
- Avoided data race in PyArray_CheckFromAny_int.
- Fixed f2py directives and --lower casing.
- Fixed overlapping overloads issue in 2->1 ufuncs.
- Fixed ndarray.astype() to preserve shape-type.
- Fixed missing and spurious top-level exports.
🔧 Affected Symbols
__setitem__binopissubdtypedatetime64 constructorufunc slow pathreduction initializationinterpf2pyPyArray_UpdateFlagsPyArray_CheckFromAny_intndarray.astype()