JuliaPy / JuliaPy/PythonCall.jl

Dont use __init__

Ouverte
#300 14 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement no stale
Langage dominant
Julia
Étoiles
1.1k
Forks
86
Merge moyen
1 j 22 h
PR mergées (30 j)
3

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

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é
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.