JuliaPy / JuliaPy/PythonCall.jl

Support __copy__ and __deepcopy__?

Offen
#35 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement help wanted
Vorherrschende Sprache
Julia
Sterne
1.1k
Forks
86
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
3

Beschreibung

`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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.