Show More
@@ -164,6 +164,11 b' class InteractiveShellApp(Configurable):' | |||
|
164 | 164 | # Extensions that are always loaded (not configurable) |
|
165 | 165 | default_extensions = List(Unicode, [u'storemagic'], config=False) |
|
166 | 166 | |
|
167 | hide_initial_ns = Bool(True, config=True, | |
|
168 | help="""Should variables loaded at startup (by startup files, exec_lines, etc.) | |
|
169 | be hidden from tools like %who?""" | |
|
170 | ) | |
|
171 | ||
|
167 | 172 | exec_files = List(Unicode, config=True, |
|
168 | 173 | help="""List of files to run at IPython startup.""" |
|
169 | 174 | ) |
@@ -290,6 +295,7 b' class InteractiveShellApp(Configurable):' | |||
|
290 | 295 | sys.stderr.flush() |
|
291 | 296 | |
|
292 | 297 | # Hide variables defined here from %who etc. |
|
298 | if self.hide_initial_ns: | |
|
293 | 299 | self.shell.user_ns_hidden.update(self.shell.user_ns) |
|
294 | 300 | |
|
295 | 301 | def _run_exec_lines(self): |
General Comments 0
You need to be logged in to leave comments.
Login now