##// END OF EJS Templates
don't use history files in Engines
MinRK -
Show More
@@ -188,7 +188,10 b' class EngineFactory(RegistrationFactory):'
188 iopub_stream.setsockopt(zmq.IDENTITY, identity)
188 iopub_stream.setsockopt(zmq.IDENTITY, identity)
189 connect(iopub_stream, iopub_addr)
189 connect(iopub_stream, iopub_addr)
190
190
191 # # Redirect input streams and set a display hook.
191 # disable history:
192 self.config.HistoryManager.hist_file = ':memory:'
193
194 # Redirect input streams and set a display hook.
192 if self.out_stream_factory:
195 if self.out_stream_factory:
193 sys.stdout = self.out_stream_factory(self.session, iopub_stream, u'stdout')
196 sys.stdout = self.out_stream_factory(self.session, iopub_stream, u'stdout')
194 sys.stdout.topic = py3compat.cast_bytes('engine.%i.stdout' % self.id)
197 sys.stdout.topic = py3compat.cast_bytes('engine.%i.stdout' % self.id)
General Comments 0
You need to be logged in to leave comments. Login now