Skip to content

ipykernel unconditionally calls sys.stdout.flush() #1119

@twizmwazin

Description

@twizmwazin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions