MCPcopy Index your code
hub / github.com/ipython/ipython / stderr_read

Function stderr_read

IPython/utils/_process_win32.py:84–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 print(f"Error reading stdout: {e}", file=sys.stderr)
83
84 def stderr_read() -> None:
85 try:
86 assert p.stderr is not None
87 for byte_line in (read_no_interrupt(p.stderr) or b"").splitlines():
88 line = byte_line.decode(enc, "replace")
89 print(line, file=sys.stderr)
90 except Exception as e:
91 print(f"Error reading stderr: {e}", file=sys.stderr)
92
93 stdout_thread = Thread(target=stdout_read)
94 stderr_thread = Thread(target=stderr_read)

Callers

nothing calls this directly

Calls 1

read_no_interruptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…