##// END OF EJS Templates
Fix nasty crash from incorrect log call.
fperez -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6
6
7 This file contains all the classes and helper functions specific to IPython.
7 This file contains all the classes and helper functions specific to IPython.
8
8
9 $Id: iplib.py 1335 2006-05-30 06:02:44Z fperez $
9 $Id: iplib.py 1339 2006-05-31 16:13:50Z fperez $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -1817,7 +1817,9 b' want to merge them back into the new files.""" % locals()'
1817 # blanket except, in case a user-defined prefilter crashes, so it
1817 # blanket except, in case a user-defined prefilter crashes, so it
1818 # can't take all of ipython with it.
1818 # can't take all of ipython with it.
1819 self.showtraceback()
1819 self.showtraceback()
1820 return lineout
1820 return ''
1821 else:
1822 return lineout
1821
1823
1822 def split_user_input(self,line):
1824 def split_user_input(self,line):
1823 """Split user input into pre-char, function part and rest."""
1825 """Split user input into pre-char, function part and rest."""
@@ -2020,7 +2022,7 b' want to merge them back into the new files.""" % locals()'
2020 (self.buffer[-1]).isspace() )):
2022 (self.buffer[-1]).isspace() )):
2021 line = ''
2023 line = ''
2022
2024
2023 self.log(line,continue_prompt)
2025 self.log(line,line,continue_prompt)
2024 return line
2026 return line
2025
2027
2026 def handle_alias(self,line,continue_prompt=None,
2028 def handle_alias(self,line,continue_prompt=None,
@@ -1,3 +1,8 b''
1 2006-05-31 Fernando Perez <Fernando.Perez@colorado.edu>
2
3 * IPython/iplib.py (handle_normal): fix nasty crash reported on
4 SAGE list, from improper log() calls.
5
1 2006-05-31 Ville Vainio <vivainio@gmail.com>
6 2006-05-31 Ville Vainio <vivainio@gmail.com>
2
7
3 * upgrade_dir.py, Magic.py (magic_upgrade): call upgrade_dir
8 * upgrade_dir.py, Magic.py (magic_upgrade): call upgrade_dir
General Comments 0
You need to be logged in to leave comments. Login now