JuliaPy / JuliaPy/PythonCall.jl
[pythoncall] jl.Pair generates tuple instead of Julia pair
- Langage dominant
- Julia
- Étoiles
- 1.1k
- Forks
- 86
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 3
Description
**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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- julia, python
- Domaine
- api
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100