From 28202e8eb6e41ddebaf589bc7c1ac49bf3b99764 2011-07-22 19:19:39
From: Thomas Kluyver <takowl@gmail.com>
Date: 2011-07-22 19:19:39
Subject: [PATCH] Comment explaining overriding readline_use traitlet.

---

diff --git a/IPython/zmq/zmqshell.py b/IPython/zmq/zmqshell.py
index aba9d7a..e40f2e0 100644
--- a/IPython/zmq/zmqshell.py
+++ b/IPython/zmq/zmqshell.py
@@ -80,6 +80,9 @@ class ZMQInteractiveShell(InteractiveShell):
     displayhook_class = Type(ZMQShellDisplayHook)
     display_pub_class = Type(ZMQDisplayPublisher)
     
+    # Override the traitlet in the parent class, because there's no point using
+    # readline for the kernel. Can be removed when the readline code is moved
+    # to the terminal frontend.
     readline_use = CBool(False)
     
     exiter = Instance(ZMQExitAutocall)