Skip to content

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

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.

Activity

  1. gregory-shklover commented on Jun 10, 2024

    @gregory-shklover
    Contributor

    same issue here

  2. gregory-shklover commented on Jun 10, 2024

    @gregory-shklover
    Contributor

    Submitted PR: #1247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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