JuliaPy / JuliaPy/PythonCall.jl

Dont use __init__

Open
#300 14 comments 0 reactions 0 assignees View on GitHub
enhancement no stale
Dominant language
Julia
Stars
1.1k
Forks
86
Avg merge
1d 22h
Merged PRs (30d)
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.

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.