summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_elementwise_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-04-01 18:09:28 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2021-04-08 12:25:10 -0500
commit5e310e94de468359332ea5366d6555df5bc85231 (patch)
tree36a18b62c521896a0253a47864fcd47cb46106f9 /numpy/array_api/tests/test_elementwise_functions.py
parent0fe69ae3fc513aefd32a58ae8ccac294b12300d2 (diff)
downloadnumpy-5e310e94de468359332ea5366d6555df5bc85231.tar.gz
API,DEP: Move ufunc signature parsing to the start
This may have slight affects on users, see release notes. Mainly, we have to parse the type tuple up-front (because we need to replace the current type resolution). Since we _must_ de-facto replace the current type resolution, I do not see why we should duplicate code for the odd possibility of someone actually calling `ufunc.type_resolver()` with a `typetup` that is not a actually a type tuple. This commit also deprecates `signature="l"` as meaning (normally) the same as `dtype="l"`.
Diffstat (limited to 'numpy/array_api/tests/test_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions