Show stringResult from eval.

This commit is contained in:
Axel Naumann 2015-12-10 17:04:00 +01:00 committed by sftnight
parent a5e047f8c0
commit 67c8a03d55

View File

@ -145,6 +145,17 @@ class ClingKernel(Kernel):
if stringResult == 0:
status = 'error'
else:
self.session.send(
self.iopub_socket,
'execute_result',
content={
'data': {
'text/plain': stringResult.decode('utf8', replace),
},
},
parent=self.parent_header
)
self.libclingJupyter.cling_eval_free(stringResult)
reply = {