JuliaPy / JuliaPy/PythonCall.jl

Support serialising/pickling recursive types

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

Beschreibung

This can be done by having a custom `Pickler` and `Unpickler` classes which take a Julia `Serializer` on construction which is used to serialize any Julia objects it sees in `persistent_id`. These classes are used when serializing a Python object.

Similarly we can have a custom `Serializer` type which takes a Python `Pickler` and `Unpickler` on construction which is used to (de-)serialize any Python objects it sees. This class is used when pickling/unpickling a Julia object.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue names no files, tests, or entry points. Start by locating the existing Python pickling and Julia serialization implementations, then trace how objects cross the language boundary. Done means recursive Julia and Python objects can be serialized and deserialized through the proposed custom Pickler, Unpickler, and Serializer types.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
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.