From f14e0fb48a811ed62504e409fb57e24d7cae6187 2013-07-01 17:55:48 From: MinRK Date: 2013-07-01 17:55:48 Subject: [PATCH] don't use parent=self in handlers handlers aren't configurable, so shouldn't be passed as parent. closes #3502 --- diff --git a/IPython/html/base/zmqhandlers.py b/IPython/html/base/zmqhandlers.py index 4bc2474..19778ee 100644 --- a/IPython/html/base/zmqhandlers.py +++ b/IPython/html/base/zmqhandlers.py @@ -84,7 +84,7 @@ class AuthenticatedZMQStreamHandler(ZMQStreamHandler, IPythonHandler): def open(self, kernel_id): self.kernel_id = kernel_id.decode('ascii') - self.session = Session(parent=self) + self.session = Session(config=self.config) self.save_on_message = self.on_message self.on_message = self.on_first_message