##// END OF EJS Templates
Do not expose variables defined at startup to %who etc....
Thomas Kluyver -
Show More
@@ -180,6 +180,9 b' class InteractiveShellApp(Configurable):'
180 self._run_exec_lines()
180 self._run_exec_lines()
181 self._run_exec_files()
181 self._run_exec_files()
182 self._run_cmd_line_code()
182 self._run_cmd_line_code()
183
184 # Hide variables defined here from %who etc.
185 self.shell.user_ns_hidden.update(self.shell.user_ns)
183
186
184 def _run_exec_lines(self):
187 def _run_exec_lines(self):
185 """Run lines of code in IPythonApp.exec_lines in the user's namespace."""
188 """Run lines of code in IPythonApp.exec_lines in the user's namespace."""
General Comments 0
You need to be logged in to leave comments. Login now