In some circumstances, the serialization of Callables for operators seems to be incomplete, especially when the logic is encapsulated in a member function of the Callable class, which is called in the __call__ function.
NameError: name 'xyz' is not defined
For Python 2.7 there used to be a logic that determined the value of the recurse parameter of dill.dumps(). This PR re-activates this logic.
If there are side effects, and what these side effects are, is not yet known and must be carefully tested.
In some circumstances, the serialization of Callables for operators seems to be incomplete, especially when the logic is encapsulated in a member function of the Callable class, which is called in the
__call__
function.NameError: name 'xyz' is not defined
For Python 2.7 there used to be a logic that determined the value of the
recurse
parameter ofdill.dumps()
. This PR re-activates this logic.If there are side effects, and what these side effects are, is not yet known and must be carefully tested.