From 12945ebd3770c78c0eca764cbc71e86c91ac54d4 2014-12-12 16:42:11 From: Carlos Cordoba Date: 2014-12-12 16:42:11 Subject: [PATCH] Add default (None) values to HBChannel constructor This is needed for PyQt5 compatibility --- diff --git a/IPython/kernel/channels.py b/IPython/kernel/channels.py index b22cfba..f9b8d93 100644 --- a/IPython/kernel/channels.py +++ b/IPython/kernel/channels.py @@ -47,7 +47,7 @@ class HBChannel(Thread): _pause = None _beating = None - def __init__(self, context, session, address): + def __init__(self, context=None, session=None, address=None): """Create the heartbeat monitor thread. Parameters