JuliaPy / JuliaPy/PythonCall.jl

IPython redirect stdout

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

説明

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`.

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

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

調査の方向性

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.

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

評価

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

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

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