JuliaPy / JuliaPy/PythonCall.jl
IPython redirect stdout
- Linguagem predominante
- Julia
- Estrelas
- 1.1k
- Forks
- 86
- Merge médio
- 1d 22h
- PRs com merge (30d)
- 3
Descrição
We used to set `Base.stdout` to `PyIO(sys.stdout)` but this causes bugs so is removed.
Instead copy the IJulia approach: use `pipe = redirect_stdout()` and have an async task watch the pipe for output and write it to `sys.stdout`.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Locate the code that sets Base.stdout to PyIO(sys.stdout), then inspect how redirect_stdout() and the IJulia approach handle the pipe. Trace how an async task could observe pipe output and forward it to sys.stdout. Done means IPython output is redirected without the bugs caused by the previous Base.stdout assignment.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- julia, python
- Domínio
- backend
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100