5
Note: not all of these have yet been fully fleshed out, but the key ones are,
6
see kernel and frontend files for actual implementation details.
11
General message format::
14
header : { 'msg_id' : 10, # start with 0
19
msg_type : 'string_message_type',
20
content : blackbox_dict , # Must be a dict
23
Side effect: (PUB/SUB)
24
======================
45
traceback : 'full traceback',
46
exc_type : 'TypeError',
64
# msg_type = 'execute_request'
71
# msg_type = 'execute_reply'
73
'status' : 'ok' OR 'error' OR 'abort'
74
# data depends on status value
80
# msg_type = 'complete_request'
82
text : 'a.f', # complete on this
83
line : 'print a.f' # full line
86
# msg_type = 'complete_reply'
88
matches : ['a.foo', 'a.bar']
94
# msg_type = 'heartbeat'