Show More
@@ -139,10 +139,10 b' def start_ipython():' | |||||
139 | _main = sys.modules.get('__main__') |
|
139 | _main = sys.modules.get('__main__') | |
140 |
|
140 | |||
141 | # Start IPython instance. We customize it to start with minimal frills. |
|
141 | # Start IPython instance. We customize it to start with minimal frills. | |
142 | user_ns = IPython.ipapi.make_user_ns(ncdict()) |
|
142 | user_ns,global_ns = IPython.ipapi.make_user_namespaces(ncdict(),dict()) | |
143 |
|
143 | |||
144 | IPython.Shell.IPShell(['--classic','--noterm_title'], |
|
144 | IPython.Shell.IPShell(['--classic','--noterm_title'], | |
145 | user_ns) |
|
145 | user_ns,global_ns) | |
146 |
|
146 | |||
147 | # Deactivate the various python system hooks added by ipython for |
|
147 | # Deactivate the various python system hooks added by ipython for | |
148 | # interactive convenience so we don't confuse the doctest system |
|
148 | # interactive convenience so we don't confuse the doctest system |
General Comments 0
You need to be logged in to leave comments.
Login now