ipykernel unconditionally calls `sys.stdout.flush()`
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 734
- Forks
- 412
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.