We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231dca6 commit 1bc0630Copy full SHA for 1bc0630
ipykernel/iostream.py
@@ -386,9 +386,6 @@ def _watch_pipe_fd(self):
386
387
"""
388
389
- if self._fid is None:
390
- return
391
-
392
try:
393
bts = os.read(self._fid, PIPE_BUFFER_SIZE)
394
while bts and self._should_watch:
@@ -442,7 +439,6 @@ def __init__(
442
439
self.session = session
443
440
self._has_thread = False
444
441
self.watch_fd_thread = None
445
- self._fid = None
446
if not isinstance(pub_thread, IOPubThread):
447
# Backward-compat: given socket, not thread. Wrap in a thread.
448
warnings.warn(
0 commit comments