diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-01-09 16:28:09 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-01-09 15:28:09 +0100 |
commit | f5b6850f231de80b067e06e01d11bec4bd535c58 (patch) | |
tree | 381b919bb15da5f5bef8b4d6075fe91ab96cd709 /numpy/lib/arraysetops.py | |
parent | ad0e902717d1245d17856d47d7f16bc7817da866 (diff) | |
download | numpy-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/arraysetops.py')
0 files changed, 0 insertions, 0 deletions