diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-09-10 16:02:55 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-09-10 16:03:46 -0500 |
commit | 2e3de29722cc42970a31fe6843c5aa0dbcf0ee7d (patch) | |
tree | 57dedb3d2def661ebe18225c863b8e83393735e6 /numpy/lib/function_base.py | |
parent | 3a9588ae8041d611cb1df4be849db88fefc5ea46 (diff) | |
download | numpy-2e3de29722cc42970a31fe6843c5aa0dbcf0ee7d.tar.gz |
MAINT: Simplify ufunc pickling
This also allows at least in principle numba dynamically
generated ufuncs to be pickled (with some hacking), see:
https://github.com/dask/distributed/issues/3450
If the name of the ufunc is set to a qualname, using this method,
pickle should be able to unpickle the ufunc correctly.
We may want to allow setting the module and qualname explicitly
on the ufunc object to remove the need for the custom pickler
completely.
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions