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
Note that you'll probably want to define Base.deepcopy_internal to at minimum increment the reference count, since otherwise calling deepcopy(::Py) in Julia will use the default implementation (that will just copy the pointer, which might lead to crashes since then the refcount will be wrong).
juliacall.AnyValue.__copy__
and__deepcopy__
could call Julia'scopy
anddeepcopy
.Conversely,
copy(::Py)
anddeepcopy_internal(::Py, ::IdDict)
could call Python'scopy.copy
andcopy.deepcopy
.https://docs.python.org/3/library/copy.html
The text was updated successfully, but these errors were encountered: