JuliaPy / JuliaPy/PyCallJLD.jl
Cannot save pydef-defined class
Open
- Dominant language
- Julia
- Stars
- 5
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```julia
@pydef type Store
__init__(self, a) = (self[:a] = a)
end
save("dummy.jld", "x", Store(10))
> PyError (ccall(@pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, arg, C_NULL))
> PicklingError("Can't pickle : attribute lookup __main__.Store failed",)
```
I don't think anything can be done about it, though.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.