JuliaPy / JuliaPy/PythonCall.jl

When using Pluto, output from pyprint is buffered

オープン
#68 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
1.1k
フォーク
86
平均マージ
1日 22時間
マージ済み PR(30日)
3

説明

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!")`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。