summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorGanesh Kathiresan <ganesh3597@gmail.com>2020-10-18 14:33:30 +0530
committerGitHub <noreply@github.com>2020-10-18 10:03:30 +0100
commitbb76bff17f86e468ca9fbc5071d95782dc932c10 (patch)
tree8564243e42afd670a8d7ee6b953b2b9fd3ff776c /numpy/array_api/_elementwise_functions.py
parent7b0a764fee6e1614f3249e9082d8c4acf1dc62d5 (diff)
downloadnumpy-bb76bff17f86e468ca9fbc5071d95782dc932c10.tar.gz
BUG: Fixed crash on self-referential dtypes (#17536)
Instead of causing a C stack overflow, these now raise RecursionError. It shouldn't be possible to recurse through the string, type, or byte conversion paths; only the tuple, dict, and list paths are at risk.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions