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 3984e68 commit c1cc359Copy full SHA for c1cc359
ipykernel/kernelbase.py
@@ -235,12 +235,14 @@ def _parent_header(self):
235
"list_subshell_request",
236
]
237
238
- _eventloop_set = threading.Event()
+ _eventloop_set: threading.Event
239
240
def __init__(self, **kwargs):
241
"""Initialize the kernel."""
242
super().__init__(**kwargs)
243
244
+ self._eventloop_set = threading.Event()
245
+
246
# Kernel application may swap stdout and stderr to OutStream,
247
# which is the case in `IPKernelApp.init_io`, hence `sys.stdout`
248
# can already by different from TextIO at initialization time.
0 commit comments