JuliaPy / JuliaPy/PythonCall.jl
Support __copy__ and __deepcopy__?
- Langage dominant
- Julia
- Étoiles
- 1.1k
- Forks
- 86
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 3
Description
`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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- julia, python
- Domaine
- backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100