JuliaPy / JuliaPy/PythonCall.jl

Dont use __init__

Aperta
#300 14 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement no stale
Lingua principale
Julia
Stelle
1.1k
Fork
86
Merge medio
1g 22h
PR unite (30g)
3

Descrizione

Given recent precompilation concerns it would be better not to use and recommend using `__init__` here.

Instead pynew() could have a runtime value check, and do the import automatically on the first call?

We could pass it a string for the module name, or a closure.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reviewing the issue's discussion around `__init__` and the `pynew()` entry point, focusing on the precompilation concern and the proposed runtime value check. The work is complete when the intended import behavior and accepted module-name or closure interface are defined and implemented, with validation for the first call.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia, python
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.