JuliaPy / JuliaPy/PythonCall.jl

[pythoncall] jl.Pair generates tuple instead of Julia pair

Đang mở
#313 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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ả

**Affects:** JuliaCall

**Describe the bug**
In python, with
`from juliacall import Main as jl`
`jl.Pair(1,2)`
it will generate a tuple instead of julia pair like `1=>2`.

**system info**
Please provide detailed information about your system:
- Mac Ventura 13.2.1
- The version of Julia 1.8.5, Python 3.9.7, JuliaCall 0.9.12

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 reproducing `jl.Pair(1,2)` through `from juliacall import Main as jl` with the reported Julia, Python, and JuliaCall versions. Trace the binding behind `jl.Pair` and compare its result with the expected Julia pair `1=>2`; done means the call produces a Julia pair rather than a tuple.

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
api
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/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.