Commit fa63833
committed
Reorder post hooks and execute_result message
Following IPython, messages and hooks in execute_request is ordered the
following way:
1. Send execute_input message if the request is not silent
2. Call pre_execute hooks
3. Call pre_run_cell hooks if the request is not silent
4. Run cell code
5. If the result is not null and the request is not silent,
perform display the result and send execute_result message
6. Call post_execute hooks
7. Call post_run_cell hooks if the request is not silent
8. Send execute_reply message1 parent 53019cc commit fa63833
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
137 | 144 | | |
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments