JuliaPy / JuliaPy/PythonCall.jl
When using Pluto, output from pyprint is buffered
- Linguagem predominante
- Julia
- Estrelas
- 1.1k
- Forks
- 86
- Merge médio
- 1d 22h
- PRs com merge (30d)
- 3
Descrição
From within Pluto, `pyprint("hello world!")` does not immediately print to the terminal running the Pluto server. Also, if one uses `PlutoUI` and `with_terminal() do ...`, the output also does not immediately print.
If the notebook is stopped, or if one `pyprint`s a large number of bytes (~ 10 kB?) then the buffered output of the `pyprint` statements will be displayed.
To replicate, start a Pluto notebook by `using Pluto; Pluto.run()`, then create a new notebook with one cell containing `using PythonCall` and one containing `pyprint("hello world!")`.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Reproduce the issue with Pluto.run(), a notebook importing PythonCall, and pyprint("hello world!"); also check the PlutoUI with_terminal() case. Start by tracing the pyprint and terminal-output entry points mentioned in the report, and consider the issue done when output appears immediately without stopping the notebook or printing a large volume.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- julia, python
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100