Skip to content

Commit aeff007

Browse files
committed
update
1 parent ceabb6b commit aeff007

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ipykernel/zmqshell.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,14 @@ class ZMQInteractiveShell(InteractiveShell):
517517
def __init__(self, *args, **kwargs):
518518
super().__init__(*args, **kwargs)
519519

520+
# Suppress Trio's signal handling warning on Windows with ProactorEventLoop
521+
# This occurs when Trio is imported and finds signal handling already taken by Proactor
522+
warnings.filterwarnings(
523+
"ignore",
524+
message=".*Trio's signal handling code might have collided.*",
525+
category=RuntimeWarning,
526+
)
527+
520528
# tqdm has an incorrect detection of ZMQInteractiveShell when launch via
521529
# a scheduler that bypass IPKernelApp Think of JupyterHub cluster
522530
# spawners and co. as of end of Feb 2025, the maintainer has been

0 commit comments

Comments
 (0)