Skip to content

Commit 384bdb1

Browse files
authored
Fix side effect import for pickleutil (#1216)
1 parent 56a6372 commit 384bdb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ipykernel/pickleutil.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
from types import FunctionType
1111

1212
# This registers a hook when it's imported
13+
try:
14+
from ipyparallel.serialize import codeutil # noqa: F401
15+
except ImportError:
16+
pass
1317
from traitlets.log import get_logger
1418
from traitlets.utils.importstring import import_item
1519

0 commit comments

Comments
 (0)