For the use with joblib.Parallel, I need to be able to pickle a boost::python function.
When I try to do so, I get a
TypeError: can't pickle builtin_function_or_method objects
As far as I understand, the function should be pickled by fully qualified name only.
I don’t see why this is not possible.
Any ideas?
If you want to use your boost method in a joblib.Parallel object, maybe you could use a wrapper around your boost method :