JuliaPy / JuliaPy/PythonCall.jl
Massively simplify pyconvert?
- Linguagem predominante
- Julia
- Estrelas
- 1.1k
- Forks
- 86
- Merge médio
- 1d 22h
- PRs com merge (30d)
- 3
Descrição
Don't take a type, so it's just `pyconvert(::Py)`. Symmetric with `Py(x)` for conversion in the other direction. Will be simpler so define rules and can just run up the MRO to apply them.
Could also have a `override` argument to possibly provide custom conversions (and same for `Py`).
Could additionally support `pyconvert(T, x)` as an alias for `convert(T, pyconvert(x))::T`. Or do something slightly snazzier which lets us skip over rules that cannot apply?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
The issue names no files or tests; start by tracing the existing `pyconvert` and `Py(x)` entry points and their conversion rules. Resolve which proposed API—type-free `pyconvert(::Py)`, optional overrides, or the typed alias—is intended, then verify the chosen behavior across the MRO.
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
- Refatoração
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100