JuliaPy / JuliaPy/PythonCall.jl

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

オープン
#313 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Julia
スター
1.1k
フォーク
86
平均マージ
1日 22時間
マージ済み PR(30日)
3

説明

**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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。