environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/handlers.py
def _reserialize_reply(self, msg_list):
        """Reserialize a reply message using JSON.

        This takes the msg list from the ZMQ socket, unserializes it using
        self.session and then serializes the result using JSON. This method
        should be used by self._on_zmq_reply to build messages that can
        be sent back to the browser.
        """
        idents, msg_list = self.session.feed_identities(msg_list)
        msg = self.session.unserialize(msg_list)
        try:
            msg['header'].pop('date')
        except KeyError:
            pass
        try:
            msg['parent_header'].pop('date')
        except KeyError:
            pass
        msg.pop('buffers')
        return jsonapi.dumps(msg, default=date_default)
def _reserialize_reply(self, msg_list):
        idents, msg_list = self.session.feed_identities(msg_list)
        msg = self.session.unserialize(msg_list)
        try:
            msg['header'].pop('date')
        except KeyError:
            pass
        try:
            msg['parent_header'].pop('date')
        except KeyError:
            pass
        msg.pop('buffers')
        return jsonapi.dumps(msg, default=date_default)
def _reserialize_reply ( self , msg_list ) : idents , msg_list = self . session . feed_identities ( msg_list ) msg = self . session . unserialize ( msg_list ) try : msg [ 'header' ] . pop ( 'date' ) except KeyError : pass try : msg [ 'parent_header' ] . pop ( 'date' ) except KeyError : pass msg . pop ( 'buffers' ) return jsonapi . dumps ( msg , default = date_default )
Reserialize a reply message using JSON.

        This takes the msg list from the ZMQ socket, unserializes it using
        self.session and then serializes the result using JSON. This method
        should be used by self._on_zmq_reply to build messages that can
        be sent back to the browser.
Reserialize a reply message using JSON .