JuliaPy / JuliaPy/PythonCall.jl

Dont use __init__

未关闭
#300 14 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement no stale
主要语言
Julia
星标
1.1k
派生
86
平均合并
1 天 22 小时
30 天内合并 PR
3

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。