10000 skip elide with pypy · numpy/numpy@ff0bbc2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff0bbc2

Browse files
committed
skip elide with pypy
1 parent a70ffa3 commit ff0bbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/src/multiarray/number.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ array_inplace_right_shift(PyArrayObject *m1, PyObject *m2);
378378
* TODO divide can probably be handled with some extra checks (e.g. avoid on
379379
* type changes like mm->d)
380380
*/
381-
#if defined HAVE_BACKTRACE && HAVE_DLFCN_H
381+
#if defined HAVE_BACKTRACE && HAVE_DLFCN_H && ! defined PYPY_VERSION
382382
/* 1 prints elided operations, 2 prints stacktraces */
383383
#define NPY_ELIDE_DEBUG 0
384384
#define NPY_MAX_STACKSIZE 10

0 commit comments

Comments
 (0)
0