You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using PythonCall to define a Python interface from julia. It happens that I want to precompile Python code using Python's compile function and then send it to a remote process (Distributed).
Unfortunately the default serialize_py and deserialize_py use pickle which cannot handle code objects.
Describe the solution you'd like
It would be perfect if PythonCall had an option to use dill instead of pickle
Describe alternatives you've considered
I am currently overwriting serialize_py and deserialize_py myself to use "dill", and also add "dill" to the CondaPkg.toml.
The text was updated successfully, but these errors were encountered:
I am using PythonCall to define a Python interface from julia. It happens that I want to precompile Python code using Python's
compile
function and then send it to a remote process (Distributed).Unfortunately the default
serialize_py
anddeserialize_py
usepickle
which cannot handle code objects.Describe the solution you'd like
It would be perfect if PythonCall had an option to use
dill
instead ofpickle
Describe alternatives you've considered
I am currently overwriting
serialize_py
anddeserialize_py
myself to use"dill"
, and also add"dill"
to the CondaPkg.toml.The text was updated successfully, but these errors were encountered: