summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | TYP,ENH: Add annotations for the new `ABCPolyBase.symbol` propertyBvB932022-11-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xref https://github.com/numpy/numpy/pull/16154
* | | | | | | | | | | | | | | | Merge pull request #22583 from charris/create-f2c_blas-patchRalf Gommers2022-11-141-0/+112
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Patch to remove ncola variable from f2c_blas.c [ci skip]
| * | | | | | | | | | | | | | | MAINT: Patch to remove ncola variable from f2c_blas.cCharles Harris2022-11-131-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | | | | | | | | | | | | Merge pull request #22586 from rossbar/maint/arrayprint-type-cleanupSebastian Berg2022-11-141-4/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | MAINT: Rm meaningless checks in determining typeless data
| * | | | | | | | | | | | | | | MAINT: Rm unnecessary checks in determining typeless data.Ross Barnowski2022-11-131-4/+0
| | |_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issubclass should always be false in Python3, so this change should not change behavior.
* | | | | | | | | | | | | | | Merge pull request #22580 from rgommers/fix-lapacklite-build-warningsMatti Picus2022-11-131-16/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BLD: remove unused `ncola` variables from lapack-lite
| * | | | | | | | | | | | | | | BLD: remove unused `ncola` variables from lapack-liteRalf Gommers2022-11-131-16/+4
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes some annoying build warnings.
* | | | | | | | | | | | | | | Merge pull request #22578 from rgommers/fix-dlpack-includesSebastian Berg2022-11-131-5/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BLD: fix issue with header includes in dlpack.c
| * | | | | | | | | | | | | | | BLD: fix issue with header includes in dlpack.cRalf Gommers2022-11-121-5/+3
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #22579 from rgommers/use-c99-restrictSebastian Berg2022-11-131-2/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | MAINT: remove `NPY_RESTRICT` in favor of C99 `restrict`
| * | | | | | | | | | | | | | | MAINT: remove `NPY_RESTRICT` in favor of C99 `restrict`Ralf Gommers2022-11-121-2/+0
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves doing an expensive configure-time check that does not seem needed.
* | | | | | | | | | | | | | | Merge pull request #22576 from rgommers/fix-assertCharles Harris2022-11-121-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | BUG: fix issue with broken assert statement in `templ_common.h.src`
| * | | | | | | | | | | | | | BUG: fix issue with broken assert statement in `templ_common.h.src`Ralf Gommers2022-11-121-2/+3
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assert() only takes one argument. This was recently introduced, in commit 4156ae260 (gh-21793)
* | | | | | | | | | | | | | Merge pull request #22566 from seberg/ObjectType-fixupCharles Harris2022-11-104-18/+71
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | BUG: Fix use and errorchecking of ObjectType use
| * | | | | | | | | | | | | MAINT: Ensure that datetime dot, correlate, and vdot cannot happenSebastian Berg2022-11-091-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is by just undefining the function that should never have been defined to begin with.
| * | | | | | | | | | | | | BUG: Fix use and errorchecking of ObjectType useSebastian Berg2022-11-093-15/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be replaced really, it is pretty bad API use, and doesn't work well (up to being incorrect probably). But working on other things (trying to make promotion strict and thus saner), I realized that the use was always wrong: we cannot pass 0 since 0 means `bool`, what was always meant was passing no-type. So fixing this, and adding the error check everywhere. Checking for `PyErr_Occurred()` may have been necessary at some point, but is not anymore.
* | | | | | | | | | | | | | Merge pull request #22567 from ↵Matti Picus2022-11-091-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rossbar/ci-add-pr-write-permissions-to-artifact-redirector CI: Add PR write permissions to artifact redirector.
| * | | | | | | | | | | | | | CI: Add PR write permissions to artifact redirector.Ross Barnowski2022-11-091-0/+2
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-enable the circleci artifact redirector action which was disabled when permissions were added to the workflow. Note: permissions added at the job level rather than the workflow level reflecting recommended security practices. [skip github] [skip travis] [skip azp]
* | | | | | | | | | | | | | Merge pull request #22552 from juztamau5/fix-temp-addressSebastian Berg2022-11-091-6/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Do not use temporary struct construct
| * | | | | | | | | | | | | | Fix taking address of temporary arrayjuztamau52022-11-091-6/+12
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: dtype_transfer.c:2979:28: error: taking address of temporary array 2979 | (char *[2]){main_src, main_dst}, &block_size, | ^~~~~~~~~~~~~~~~~~~~
* | | | | | | | | | | | | | Merge pull request #22540 from seberg/finalize-dtype-deprCharles Harris2022-11-094-48/+42
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | DEP: Expire deprecation of dtype/signature allowing instances
| * | | | | | | | | | | | | MAINT: Update doc/release/upcoming_changes/22540.expired.rstCharles Harris2022-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | | | DOC: Try to clarify which dtype instaces are still allowedSebastian Berg2022-11-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We still allow the "singleton" instances (which mainly applies to our own dtypes), mainly because it wouldn't really do much good to disallow them, even if they are not specific (since we don't enforce the byte-order, but we never return non-native byte order for example).
| * | | | | | | | | | | | | DOC: Add release note for expired dtype=/signature= ufunc deprecationSebastian Berg2022-11-071-0/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DEP: Expire deprecation of dtype/signature allowing instancesSebastian Berg2022-11-073-48/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We never really allowed instances here and deprecated it since NumPy 1.21 (it just failed completely in 1.21.0).
* | | | | | | | | | | | | | Merge pull request #22557 from aayushagrawal135/gentype-reduce-mem-leakSebastian Berg2022-11-091-0/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | BUG: Decrement ref count in gentype_reduce when allocated memory not …
| * | | | | | | | | | | | | BUG: Decrement ref count in gentype_reduce when allocated memory not usedAayush Agrawal2022-11-081-0/+5
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #22375 from melissawm/doc-arangeMatti Picus2022-11-088-6/+299
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: How to partition domains
| * | | | | | | | | | | | | DOC: Improve how-to-partition contents.melissawm2022-10-116-23/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add links to this document from the functions' docstrings.
| * | | | | | | | | | | | | DOC: How to partition domainsmelissawm2022-10-035-5/+293
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #22554 from juztamau5/cleanup-castSebastian Berg2022-11-081-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Match arguments of constant in `isless()`
| * | | | | | | | | | | | | | Cleanup: Match arguments of isless()juztamau52022-11-071-1/+1
| | |_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: npy_math_internal.h.src:570:24: error: no matching function for call to 'isless(npy_float&, int)' 570 | if (isless(b, 0) != isless(mod, 0)) { | ^
* | | | | | | | | | | | | | Merge pull request #22550 from juztamau5/fix-enum-boolSebastian Berg2022-11-082-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Fix Fortran order flag use (using bool rather than enum)
| * | | | | | | | | | | | | | Fix conversion from bool to enumjuztamau52022-11-072-2/+2
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: ndarraytypes.h:1503:75: error: cannot convert 'bool' to 'NPY_ORDER' in assignment
* | | | | | | | | | | | | | DOC: Add instruction to initialize git submodules (#22543)Juan Luis Cano Rodríguez2022-11-072-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add instructions to developer documentation about initializing git submodules before local build.
* | | | | | | | | | | | | | DEP: Expire deprecation to ignore bad dtype= in logical ufuncs (#22541)Sebastian Berg2022-11-075-87/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DEP: Expire deprecation to ignore bad dtype= in logical ufuncs Basically only `bool` and `object dtype make sense, but they did not work correctly. The dtype argument was rather ignored often. The offending behavior was deprecated in 1.20 and is now removed. Co-authored-by: Sebastian Berg <sebastianb@nvidia.com> Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
* | | | | | | | | | | | | | Merge pull request #22542 from seberg/dlpack-buffererrorCharles Harris2022-11-073-19/+29
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | API: Always use BufferError when dlpack export fails
| * | | | | | | | | | | | | API: Always use BufferError when dlpack export failsSebastian Berg2022-11-073-19/+29
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See also https://github.com/data-apis/array-api/pull/498. I think we should just change this. It is a niche feature and just an error type change. Closes gh-20742
| | | | | | | | | | | | * MAINT: Update release from 1.24 to 1.25Charles Harris2023-02-191-1/+1
| | | | | | | | | | | | |
| | | | | | | | | | | | * MAINT: Update release from 1.24 to 1.25Charles Harris2023-02-191-5/+5
| | | | | | | | | | | | |
| | | | | | | | | | | | * DOC: Add note about object fallback and odd time handling (as example)Sebastian Berg2022-11-081-3/+8
| | | | | | | | | | | | |
| | | | | | | | | | | | * ENH: Ensure we will transition to an error for `np.r_[int8_arr, 300]`Sebastian Berg2022-11-083-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That is, once the NEP 50 transition happens
| | | | | | | | | | | | * Apply suggestions from code reviewSebastian Berg2022-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| | | | | | | | | | | | * DEP,TYP: Remove `find_common_type` typing stubs and testsSebastian Berg2022-11-074-14/+0
| | | | | | | | | | | | |
| | | | | | | | | | | | * DOC: Add release notes for both changesSebastian Berg2022-11-072-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, the notes for the `np.r_` change is rather long even though it is not a change I expect to hit a whole lot of users...
| | | | | | | | | | | | * DEP: Deprecate `np.find_common_type`Sebastian Berg2022-11-074-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function uses the numeric scalar common dtype/promotion rules. These are subtly different from the typical NumPy rules defined by `np.result_type`. Mainly, there is no good reason to have two subtly different rules exposed and `find_common_type` is less reliable, slower, and not really maintainable when it comes to NEP 50.
| | | | | | | | | | | | * MAINT: Refactor AxisConcatenator to not use find_common_typeSebastian Berg2022-11-071-15/+16
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather, use `result_type` instead. There are some exceedingly small theoretical changes, since `result_type` currently uses value-inspection logic. `find_common_type` did not, because it pre-dates the value inspection logic. (I.e. in theory, this switches it to value-based promotion, just to partially undo that in NEP 50; although more changes there.) The only place where it is fathomable to matter is if someone is using `np.c_[uint8_arr, -1]` to append 255 to an unsigned integer array.
* | | | | | | | | | | | Merge pull request #22538 from rgommers/getinfo-npymathMatti Picus2022-11-062-37/+66
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: update libnpymath docs on its status and how to consume it
| * | | | | | | | | | | | DOC: update libnpymath docs on its status and how to consume itRalf Gommers2022-11-062-37/+66
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip azp] [skip actions] Closes gh-21431
* | | | | | | | | | | | ENH: Add OpenSSF Scorecard GitHub Action (#22482)Pedro Nacht2022-11-042-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip azp][skip circle]