Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not store file contents in history when running a .ipy file.

closes gh-328
  • Loading branch information...
commit 7d1bdfaff74a040b88d1726b47ced673f227bed1 1 parent eeb2163
@takluyver takluyver authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/core/interactiveshell.py
View
2  IPython/core/interactiveshell.py
@@ -2068,7 +2068,7 @@ def safe_execfile_ipy(self, fname):
# raised in user code. It would be nice if there were
# versions of runlines, execfile that did raise, so
# we could catch the errors.
- self.run_cell(thefile.read())
+ self.run_cell(thefile.read(), store_history=False)
except:
self.showtraceback()
warn('Unknown failure executing file: <%s>' % fname)
Please sign in to comment.
Something went wrong with that request. Please try again.