ipython / ipython/ipykernel

ipykernel unconditionally calls `sys.stdout.flush()`

未关闭
#1,119 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
8

描述

ipykernel unconditionally calls `sys.stdout.flush()` and `sys.stderr.flush()`. This is a problem when either `sys.stdout` or `sys.stderr` is `None`, such as in `pythonw.exe` on windows, or Pyinstaller's windowed mode. All of these checks should be garded with a not-None check.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。