JuliaPy / JuliaPy/PythonCall.jl
When using Pluto, output from pyprint is buffered
- Langage dominant
- Julia
- Étoiles
- 1.1k
- Forks
- 86
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 3
Description
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!")`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- julia, python
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100