JuliaPy / JuliaPy/PythonCall.jl

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

Aberta
#313 3 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Julia
Estrelas
1.1k
Forks
86
Merge médio
1d 22h
PRs com merge (30d)
3

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
julia, python
Domínio
api
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.