JuliaPy / JuliaPy/PythonCall.jl

Dont use __init__

Đang mở
#300 14 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement no stale
Ngôn ngữ chính
Julia
Star
1.1k
Fork
86
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
julia, python
Lĩnh vực
backend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.