Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.' | |||
|
6 | 6 | |
|
7 | 7 | This file contains all the classes and helper functions specific to IPython. |
|
8 | 8 | |
|
9 |
$Id: iplib.py 10 |
|
|
9 | $Id: iplib.py 1031 2006-01-18 20:20:39Z vivainio $ | |
|
10 | 10 | """ |
|
11 | 11 | |
|
12 | 12 | #***************************************************************************** |
@@ -191,7 +191,10 b' class InteractiveShell(object,Magic):' | |||
|
191 | 191 | user_ns = None,user_global_ns=None,banner2='', |
|
192 | 192 | custom_exceptions=((),None),embedded=False): |
|
193 | 193 | |
|
194 | # first thing: introduce ourselves to IPython.ipapi which is uncallable | |
|
194 | # log system | |
|
195 | self.logger = Logger(self,logfname='ipython_log.py',logmode='rotate') | |
|
196 | ||
|
197 | # introduce ourselves to IPython.ipapi which is uncallable | |
|
195 | 198 | # before it knows an InteractiveShell object. |
|
196 | 199 | IPython.ipapi._init_with_shell(self) |
|
197 | 200 | |
@@ -604,8 +607,6 b' class InteractiveShell(object,Magic):' | |||
|
604 | 607 | if rc.readline: |
|
605 | 608 | self.init_readline() |
|
606 | 609 | |
|
607 | # log system | |
|
608 | self.logger = Logger(self,logfname='ipython_log.py',logmode='rotate') | |
|
609 | 610 | # local shortcut, this is used a LOT |
|
610 | 611 | self.log = self.logger.log |
|
611 | 612 |
General Comments 0
You need to be logged in to leave comments.
Login now