JuliaPy / JuliaPy/PythonCall.jl
When using Pluto, output from pyprint is buffered
- Ngôn ngữ chính
- Julia
- Star
- 1.1k
- Fork
- 86
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
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!")`.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia, python
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100