From 8f53ec7e8a7d872b4c1c47210a77e50059c84247 2012-01-31 01:17:03 From: Scott Tsai Date: 2012-01-31 01:17:03 Subject: [PATCH] zmq.ipkernel: don't call embed_kernel() in main() --- diff --git a/IPython/zmq/ipkernel.py b/IPython/zmq/ipkernel.py index 85660b6..9626a5c 100755 --- a/IPython/zmq/ipkernel.py +++ b/IPython/zmq/ipkernel.py @@ -663,7 +663,9 @@ def embed_kernel(module=None, local_ns=None): def main(): """Run an IPKernel as an application""" - embed_kernel() + app = IPKernelApp.instance() + app.initialize() + app.start() if __name__ == '__main__':