summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraysetops.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-01-09 16:28:09 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2019-01-09 15:28:09 +0100
commitf5b6850f231de80b067e06e01d11bec4bd535c58 (patch)
tree381b919bb15da5f5bef8b4d6075fe91ab96cd709 /numpy/lib/tests/test_arraysetops.py
parentad0e902717d1245d17856d47d7f16bc7817da866 (diff)
downloadnumpy-f5b6850f231de80b067e06e01d11bec4bd535c58.tar.gz
BUG: reference cycle in np.vectorize (#11977)
This implements cyclic support by adding `tp_traverse` to ufuns which may contain a user provided object function (`np.frompyfunc`). Ufuncs that do not add this are not added to the circular reference count tracking. The ufunc does not need to implement `tp_clear` because it is an immutable object.
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
0 files changed, 0 insertions, 0 deletions