Overview
Request 1161095 accepted
- update to 1.8:
* Breaking broadcast_shapes() no longer returns None in the place
of skipped axes. The result is now just the non-skipped axes
broadcasted together.
* The skip_axes flag to iter_indices() and broadcast_shapes() can
now be a list of tuples, of skipped axes, which apply to each
respective shape independently.
* Mixing negative and nonnegative skip_axes in iter_indices() and
broadcast_shapes() is now supported. The only restriction is
that skip axes must refer to unique dimensions for each shape.
* New index method selected_indices(), which iterates indices
corresponding to each element selected by the given index on an
array of a given shape.
* ndindex indices can now be constructed by slicing the ndindex()
constructor function, like ndindex[0:10]. This is generally
preferred for indices with explicit slices, as this allows using
the usual : slice syntax instead of requiring slices to be spelled
out with the slice function.
* Add a negative_int flag to reduce, which makes it normalize
integer indices to negative integers when a shape is provided.
* Slice objects now hash to the same hash value as their
corresponding raw slice in Python 3.12, which now allows native
slice objects to be hashed.
* Fix an incorrect result from ChunkSize.as_subchunks() and
ChunkSize.num_subchunks() when using multiple array indices or a
boolean array index with multiple dimensions.
- drop ndindex-pr159-py312.patch (upstream)
- Created by dirkmueller
- In state accepted
Request History
dirkmueller created request
- update to 1.8:
* Breaking broadcast_shapes() no longer returns None in the place
of skipped axes. The result is now just the non-skipped axes
broadcasted together.
* The skip_axes flag to iter_indices() and broadcast_shapes() can
now be a list of tuples, of skipped axes, which apply to each
respective shape independently.
* Mixing negative and nonnegative skip_axes in iter_indices() and
broadcast_shapes() is now supported. The only restriction is
that skip axes must refer to unique dimensions for each shape.
* New index method selected_indices(), which iterates indices
corresponding to each element selected by the given index on an
array of a given shape.
* ndindex indices can now be constructed by slicing the ndindex()
constructor function, like ndindex[0:10]. This is generally
preferred for indices with explicit slices, as this allows using
the usual : slice syntax instead of requiring slices to be spelled
out with the slice function.
* Add a negative_int flag to reduce, which makes it normalize
integer indices to negative integers when a shape is provided.
* Slice objects now hash to the same hash value as their
corresponding raw slice in Python 3.12, which now allows native
slice objects to be hashed.
* Fix an incorrect result from ChunkSize.as_subchunks() and
ChunkSize.num_subchunks() when using multiple array indices or a
boolean array index with multiple dimensions.
- drop ndindex-pr159-py312.patch (upstream)
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
anag+factory added as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:88"
anag+factory accepted review
Picked "openSUSE:Factory:Staging:adi:88"
dimstar accepted review
anag+factory accepted review
Staging Project openSUSE:Factory:Staging:adi:88 got accepted.
anag+factory approved review
Staging Project openSUSE:Factory:Staging:adi:88 got accepted.
anag+factory accepted request
Staging Project openSUSE:Factory:Staging:adi:88 got accepted.