From a9d2f4e1b94b61cf8e09cf18aa3947bfe1e18c37 2011-10-17 22:46:19 From: MinRK Date: 2011-10-17 22:46:19 Subject: [PATCH] use stdlib json to load connection files in zmq.kernelmanager prevents longs from causing a TraitError See 64e90b1e --- diff --git a/IPython/zmq/kernelmanager.py b/IPython/zmq/kernelmanager.py index 0f31910..100176b 100644 --- a/IPython/zmq/kernelmanager.py +++ b/IPython/zmq/kernelmanager.py @@ -17,6 +17,7 @@ TODO # Standard library imports. import errno +import json from Queue import Queue, Empty from subprocess import Popen import os @@ -29,7 +30,6 @@ import time import zmq from zmq import POLLIN, POLLOUT, POLLERR from zmq.eventloop import ioloop -from zmq.utils import jsonapi as json # Local imports. from IPython.config.loader import Config