JuliaPy / JuliaPy/PythonCall.jl

Import Python submodules crashes Julia

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

Beschreibung

I have found this issue when importing python submodules with `algotom`

The following results in segmentation fault:

```julia
pyimport("algotom.prep.removal")
```

On the contrary, importing only, say, `pyimport("algotom.prep")` works fine.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the Julia snippet with pyimport("algotom.prep.removal"), then compare it with the working pyimport("algotom.prep") case. Investigate the Python submodule import boundary in PythonCall.jl; done means the submodule import no longer segfaults while the parent-module import continues to work.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
backend
Issue-Typ
Bug
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.