JuliaPy / PythonCall.jl

Python and Julia in harmony.
https://juliapy.github.io/PythonCall.jl/stable/
MIT License
715 stars 61 forks source link

making it possible to use another package instead of `pickle` for serialization (e.g. `dill`) #494

Closed schlichtanders closed 1 month ago

schlichtanders commented 2 months ago

Looking into the documentation it looks like PythonCall uses Environment Variables for configuration.

Hence I added a simple "JULIA_PYTHONCALL_PICKLE" Environment Variable which defaults to "pickle". This way users like me can easily use a more complete serialization system, as "pickle" cannot serialize everything (e.g. precompiled code, which is my usecase).

cjdoris commented 1 month ago

Thanks!