| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes (the later point) in gh-17965 and reverts parts of
gh-17817.
Shapely did rely on being able to raise a NotImplementedError
which then got ignored in the attribute lookup.
Arguably, this should probably just raise an AttributeError to
achieve that behaviour, but it means we can't just rip the band-aid
off here.
Since 1.20 is practically released, just reverting most of the change
(leaving only recursion and memory error which are both arguably
pretty fatal).
Ignoring most errors should be deprecated (and I am happy to do so),
but it is not important enough for 1.20 or very important in itself.
Closes gh-17965
|
|\
| |
| | |
BUG: Fix f2py bugs when wrapping F90 subroutines.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
be compiled. Closes #17797.
|
| |
| |
| |
| | |
Don't split inline comments.
|
| | |
|
|\ \
| | |
| | | |
MAINT: Changed the `NBitBase` variancy in `number` from co- to invariant
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
MAINT: Fix typo in docstring example
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
* defined(__STDC_NO_THREADS__) can be trusted only when using glibc > 2.12
* Add __GLIBC__ defined check.
|
|\ \
| | |
| | | |
STY: Use explicit reexports for numpy.typing objects
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
`mypy --strict` is disabling `implicit_reexport`. Consequently, when we try to
import `ArrayLike` and `DTypeLike` from `numpy.typing`, mypy throws an error.
With this commit we add explicit "reexports" for these two objects.
Fixes #18190
|
| |
| |
| |
| | |
`_BoolLike_co` is already a subtype of `_IntLike_co`, no nead the use an explicit union here
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
ENH: [f2py] Add external attribute support.
|
| | |
|
|\ \
| |/
|/| |
ENH: cpu features detection implementation on FreeBSD ARM
|
| | |
|
|/ |
|
|\
| |
| | |
BUG: Initialize value of no_castable_output used in ufunc_loop_matches
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
BUG: Promotion between strings and objects was assymetric
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After an unrelated fix, the logic for string and object promotion
was incorrect briefly, this fixes it to be correct (symmetric).
Before, string and unicode would return that
`string.__common_dtype(object)` is in fact `string`, which is of
course incorrect. (since `object.__common_dtype__(other)` always
returns `object` this depended on the order, and the NumPy tests
apparently did only test the opposite direction (or nothing).
|
|\ \
| |/
|/|
| |
| | |
Iamsoto/add_keyboard_interrupts_for_array_creation
ENH: Adding keyboard interrupt support for array creation
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
DWesl/change-tests-with-loops-to-parametrized-tests
TST: Turn some tests with loops into parametrized tests.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Suggested by charris for clarity.
Since I'm not marking some tests xfail based on the values of all
parameters, this looks nicer.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I wanted to mark only some parts of the loops as xfail for another PR.
That part of the PR probably won't make it into numpy, but I think
parametrized tests give better information on failure than tests with
loops do, so I'm submitting these here.
|
|\ \ \
| | | |
| | | | |
BUG, MAINT: improve avx512 mask logical operations
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It also fixes conversion warning between `__mmask16` and `__mmask8`
on msvc2019 when logical intrinsics of AVX512DQ are available.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
MAINT: Implement new casting loops based on NEP 42 and 43
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
switch to using new casting as default to run full CI
Initialize casting to silence compile warnings only...
BUG: As my comment even said, out_needs_api is caller-initialized
so I shouldn't init it to 0, it might disable api again.
Simplify tests again, it seems unnecessar to go this complex
Simplify `#if` as the variable should always be defined
TST: Add more tests (and some related fixes)
This fixes a few small things (i.e. the decref loop can be NULL
and checking for writeable was incorrect in the private API).
Mostly adds new tests for some internal API as well as for the copy
of the auxiliar data. The nditer test however also is a heavyweight
tests for the general multistep casting
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It seems the only reason this did not cause problems before was
that the test checking for C warnings only ran on a run where
these were always 0 and thus undefined (and so were not redefined
later).
The `#ifndef` would have to happen at a later time apparently, so
just avoid it.
|
|\ \ \ \
| |/ / /
|/| | | |
MAINT: Fix exception cause in mingw32ccompiler.py
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The second patch in a series of pull-requests aims to facilitate the migration
process to our new SIMD interface(NPYV).
It is basically a process that focuses on getting rid of the main umath SIMD source `simd.inc`,
which contains almost all SIMD kernels, by splitting it into several dispatch-able sources without
changing the base code, which facilitates the review process during the move to NPYV(universal intrinsics).
In this patch, we have moved the the following raw SIMD loops to the new dispatcher:
- FLOAT_exp, DOUBLE_exp
- FLOAT_log, DOUBLE_log
- FLOAT_frexp, DOUBLE_frexp
- FLOAT_ldexp, DOUBLE_ldexp
|
| | |
| | |
| | |
| | |
| | |
| | | |
* DEP: Deprecate `data_type.dtype` if attribute is not already a dtype
After the deprecation, a recursive lookup for `.dtype` will not be
possible, since `.dtype` has to be a dtype instance.
|