Show More
@@ -6,7 +6,7 b' Requires Python 2.1 or better.' | |||||
6 |
|
6 | |||
7 | This file contains the main make_IPython() starter function. |
|
7 | This file contains the main make_IPython() starter function. | |
8 |
|
8 | |||
9 |
$Id: ipmaker.py 2 |
|
9 | $Id: ipmaker.py 2587 2007-08-06 19:38:32Z vivainio $""" | |
10 |
|
10 | |||
11 | #***************************************************************************** |
|
11 | #***************************************************************************** | |
12 | # Copyright (C) 2001-2006 Fernando Perez. <fperez@colorado.edu> |
|
12 | # Copyright (C) 2001-2006 Fernando Perez. <fperez@colorado.edu> | |
@@ -96,6 +96,7 b' def make_IPython(argv=None,user_ns=None,user_global_ns=None,debug=1,' | |||||
96 |
|
96 | |||
97 | # Put 'help' in the user namespace |
|
97 | # Put 'help' in the user namespace | |
98 | from site import _Helper |
|
98 | from site import _Helper | |
|
99 | IP.user_config_ns = {} | |||
99 | IP.user_ns['help'] = _Helper() |
|
100 | IP.user_ns['help'] = _Helper() | |
100 |
|
101 | |||
101 |
|
102 | |||
@@ -665,7 +666,7 b" object? -> Details about 'object'. ?object also works, ?? prints more." | |||||
665 | # Take a snapshot of the user namespace before opening the shell. That way |
|
666 | # Take a snapshot of the user namespace before opening the shell. That way | |
666 | # we'll be able to identify which things were interactively defined and |
|
667 | # we'll be able to identify which things were interactively defined and | |
667 | # which were defined through config files. |
|
668 | # which were defined through config files. | |
668 |
IP.user_config_ns |
|
669 | IP.user_config_ns.update(IP.user_ns) | |
669 |
|
670 | |||
670 | # Force reading a file as if it were a session log. Slower but safer. |
|
671 | # Force reading a file as if it were a session log. Slower but safer. | |
671 | if load_logplay: |
|
672 | if load_logplay: |
General Comments 0
You need to be logged in to leave comments.
Login now