Skip to content

Commit

Permalink
Merge pull request #58 from bcolsen/cell_pre_exec
Browse files Browse the repository at this point in the history
PR: runcell trigger post_execute before run_cell to end the run_cell pre_execute
  • Loading branch information
ccordoba12 committed Oct 19, 2018
2 parents 9cfb4ee + dbd9127 commit f9e0329
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spyder_kernels/customize/spydercustomize.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,11 @@ def runcell(cellname, filename):
"Please use only through Spyder's Editor; "
"shouldn't be called manually from the console")
return

# Trigger `post_execute` to exit the additional pre-execution.
# See Spyder PR #7310.
ipython_shell.events.trigger('post_execute')

ipython_shell.run_cell(cell_code)
del ipython_shell.cell_code

Expand Down

0 comments on commit f9e0329

Please sign in to comment.