| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
MAINT: unify NPY_NO_SIGNAL macros
[ci skip]
|
| | | |
|
| |\ \
| | | |
| | | | |
API: Add new `np.exceptions` namespace for errors and warnings
|
| | | |
| | | |
| | | | |
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
AxisError did exist, but e.g. ComplexWarning wasn't even properly
included.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Both should now live in the "exceptions" module.
|
| | |/
| | |
| | |
| | | |
This means moving ComplexWarning, TooHardError, and AxisError.
|
| |\ \
| | | |
| | | | |
BLD: revert adding PEP 621 metadata, it confuses setuptools
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
See comments on gh-22663
|
| |\ \ \
| | |_|/
| |/| | |
CI: Make benchmark asv run quick to only check that benchmarks work
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
This means that benchmark results are effectively useless but I do not
think we use them anyway right now.
IT could be useful to have an asv running as a chron job with an in
depth test. (or maybe also on request for a given PR?)
|
| |\ \
| | | |
| | | | |
MAINT: Add `np._utils` to meson
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Odd PR timing/based on an older branch or seems to have hid,
this necessary addition when adding `_util`.
(Or we just missed it next to a lint failure)
|
| |\ \
| | | |
| | | | |
MAINT: Move set_module from numpy.core to numpy._utils
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
|
| | | | |
|
| | | | |
|
| |\ \ \
| | |_|/
| |/| | |
API: Add numpy.testing.overrides to aid testing of custom array containers
|
| | | |
| | | |
| | | |
| | | | |
Closes #15544
|
| |\ \ \
| | | | |
| | | | | |
API: (cython) remove `long_t` and `ulong_t`
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
They are both very confusing aliases. Unfortunately, I did not find
a way to give a more informative cython compilation error.
Thus, I pasted the expected error message in the hope it will be
easy to google.
The release notes are long and maybe confusing. I really want to
prepare us for switching the default integer to (probably) `intp`
and this could be rather disprutpive for Cython modules if, so
I thought it might be good to hint towards that, but maybe that is
too much?
|
| |\ \ \ \
| | | | | |
| | | | | | |
BUILD: move wheel uploads to cirrus for aarch64
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* DOC: Slightly improve error when gufunc axes has wrong size
My hope was to tweak it into something useful that:
a @= b
can raise when `b` should have two dimensions and has two axes specified
but actually only has one.
I didn't succeed, but I still think it a slight improvement to give the
ufunc name and the actual core dimensions.
* ENH: Use AxisError when gufunc axes appear wrong due to the number of entries
This allows catching the error relatively targeted for in-place matmul `a @= b`
which may use this path.
* MAINT: Restore most TypeErrors (a bit more compexl than nice, but...)
* DOC: add a release note
Co-authored-by: mattip <matti.picus@gmail.com>
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(#22684)
* make isnan, isinf, isfinite, signbit, nextafter aliases
* fixes from review
Co-authored-by: Sebastian Berg <sebastianb@nvidia.com>
|
| |\ \ \ \
| | | | | |
| | | | | | |
CI: Add cirrus-ci to test linux_aarch64
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Polynomials now copy properly (#22669)
|
| | | | | | | |
|
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
On line 502, self.symbol.copy() was called, which
causes an AttributeError, since self.symbol is a
string, so it doesn't have a copy() method. To fix
it, I simply removed the copy() and directly assigned
the string.
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Ensure string aliases `"int0"`, etc. remain valid for now
|
| | | | | | |
| | | | | | |
| | | | | | | |
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
int0 and uint0 were accidentally dropped, the others just added as
a test.
We did successfully remove many Numeric types before, so these could
probably be deprecated (it is a bit more annoying to do).
These could probably just be removed, scikit-learn only noticed it in
a single test (scipy probably not at all). But maybe not in 1.24
|