JuliaPy / JuliaPy/PythonCall.jl

Support __copy__ and __deepcopy__?

未關閉
#35 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement help wanted
主要語言
Julia
星號
1.1k
分支
86
平均合併
1 天 22 小時
30 天內合併 PR
3

描述

`juliacall.AnyValue.__copy__` and `__deepcopy__` could call Julia's `copy` and `deepcopy`.

Conversely, `copy(::Py)` and `deepcopy_internal(::Py, ::IdDict)` could call Python's `copy.copy` and `copy.deepcopy`.

https://docs.python.org/3/library/copy.html

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start with the Julia APIs named in the issue: juliacall.AnyValue.__copy__, __deepcopy__, copy(::Py), and deepcopy_internal(::Py, ::IdDict). Read the linked Python copy documentation and trace the existing Julia/Python object-copy entry points. Done means the requested copy and deepcopy operations delegate correctly in both directions, with behavior verified by appropriate tests.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
julia, python
領域
backend
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。