Show More
@@ -131,6 +131,9 b' class InteractiveShellApp(Configurable):' | |||||
131 | # add to self.extensions |
|
131 | # add to self.extensions | |
132 | self.extensions.append(new) |
|
132 | self.extensions.append(new) | |
133 |
|
133 | |||
|
134 | # Extensions that are always loaded (not configurable) | |||
|
135 | default_extensions = List(Unicode, [u'storemagic'], config=False) | |||
|
136 | ||||
134 | exec_files = List(Unicode, config=True, |
|
137 | exec_files = List(Unicode, config=True, | |
135 | help="""List of files to run at IPython startup.""" |
|
138 | help="""List of files to run at IPython startup.""" | |
136 | ) |
|
139 | ) | |
@@ -158,11 +161,9 b' class InteractiveShellApp(Configurable):' | |||||
158 | This uses the :meth:`ExtensionManager.load_extensions` to load all |
|
161 | This uses the :meth:`ExtensionManager.load_extensions` to load all | |
159 | the extensions listed in ``self.extensions``. |
|
162 | the extensions listed in ``self.extensions``. | |
160 | """ |
|
163 | """ | |
161 | if not self.extensions: |
|
|||
162 | return |
|
|||
163 | try: |
|
164 | try: | |
164 | self.log.debug("Loading IPython extensions...") |
|
165 | self.log.debug("Loading IPython extensions...") | |
165 | extensions = self.extensions |
|
166 | extensions = self.default_extensions + self.extensions | |
166 | for ext in extensions: |
|
167 | for ext in extensions: | |
167 | try: |
|
168 | try: | |
168 | self.log.info("Loading IPython extension: %s" % ext) |
|
169 | self.log.info("Loading IPython extension: %s" % ext) |
General Comments 0
You need to be logged in to leave comments.
Login now