Overview

Request 1105322 accepted

- Update to 3.9.0
* This version of h5py requires Python 3.8 or above.
## New features
* New out argument to read_direct_chunk() to allow passing the
output buffer (PR 2232).
* The objects from Dataset.asstr() and Dataset.astype() now
implement the __array__() method (PR 2269). This speeds up
access for functions that support it, such as np.asarray().
* Validate key types when creating groups and attributes, giving
better error messages when invalid types are used (PR 2266).
## Deprecations & removals
* Using Dataset.astype() as a context manager has been removed,
after being deprecated in h5py 3.6. Read data by slicing the
returned object instead: dset.astype('f4')[:].
* Exposing HDF5 functions
* H5Pget_elink_acc_flags & H5Pset_elink_acc_flags as
h5py.h5p.PropLAID.get_elink_acc_flags() &
h5py.h5p.PropLAID.set_elink_acc_flags(): access the external
link file access traversal flags in a link access property list
(PR 2244).
* H5Zregister as h5py.h5z.register_filter(): register an HDF5
filter (PR 2229).
## Bug fixes
* Group.__contains__ and Group.get now use the default link
access property list systematically (PR 2244).
* Removed various calls to the deprecated numpy.product function
(PR 2242 & PR 2273).
* Fix the IPython tab-completion integration in IPython 8.12 (PR
2256).
* Replacing attributes with AttributeManager.create() now deletes

Loading...
Request History
Benjamin Greiner's avatar

bnavigator created request

- Update to 3.9.0
* This version of h5py requires Python 3.8 or above.
## New features
* New out argument to read_direct_chunk() to allow passing the
output buffer (PR 2232).
* The objects from Dataset.asstr() and Dataset.astype() now
implement the __array__() method (PR 2269). This speeds up
access for functions that support it, such as np.asarray().
* Validate key types when creating groups and attributes, giving
better error messages when invalid types are used (PR 2266).
## Deprecations & removals
* Using Dataset.astype() as a context manager has been removed,
after being deprecated in h5py 3.6. Read data by slicing the
returned object instead: dset.astype('f4')[:].
* Exposing HDF5 functions
* H5Pget_elink_acc_flags & H5Pset_elink_acc_flags as
h5py.h5p.PropLAID.get_elink_acc_flags() &
h5py.h5p.PropLAID.set_elink_acc_flags(): access the external
link file access traversal flags in a link access property list
(PR 2244).
* H5Zregister as h5py.h5z.register_filter(): register an HDF5
filter (PR 2229).
## Bug fixes
* Group.__contains__ and Group.get now use the default link
access property list systematically (PR 2244).
* Removed various calls to the deprecated numpy.product function
(PR 2242 & PR 2273).
* Fix the IPython tab-completion integration in IPython 8.12 (PR
2256).
* Replacing attributes with AttributeManager.create() now deletes


Markéta Machová's avatar

mcalabkova accepted request

ok

openSUSE Build Service is sponsored by