I think this will involve defining __reduce__ or __setstate__ / __getstate__ or some of the related methods that are involved in pickling.
With @pierreglaser, we did some work on this at EuroScipy (while actually trying to do the dtype), and there is some content to reuse in pierreglaser@0e0ea8e
I think this will involve defining
__reduce__or__setstate__/__getstate__or some of the related methods that are involved in pickling.With @pierreglaser, we did some work on this at EuroScipy (while actually trying to do the dtype), and there is some content to reuse in pierreglaser@0e0ea8e