JuliaPy / JuliaPy/PythonCall.jl

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

Ouverte
#313 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
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

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.