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 289 |
|
9 | $Id: iplib.py 2894 2007-12-13 20:34:23Z vivainio $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -2075,7 +2075,8 b' want to merge them back into the new files.""" % locals()' | |||||
2075 | histlen = self.readline.get_current_history_length() |
|
2075 | histlen = self.readline.get_current_history_length() | |
2076 | newhist = self.input_hist_raw[-1].rstrip() |
|
2076 | newhist = self.input_hist_raw[-1].rstrip() | |
2077 | self.readline.remove_history_item(histlen-1) |
|
2077 | self.readline.remove_history_item(histlen-1) | |
2078 |
self.readline.replace_history_item(histlen-2, |
|
2078 | self.readline.replace_history_item(histlen-2, | |
|
2079 | newhist.encode(self.stdin_encoding)) | |||
2079 | except AttributeError: |
|
2080 | except AttributeError: | |
2080 | pass # re{move,place}_history_item are new in 2.4. |
|
2081 | pass # re{move,place}_history_item are new in 2.4. | |
2081 | else: |
|
2082 | else: |
@@ -1,12 +1,13 b'' | |||||
1 |
2007-12-1 |
|
1 | 2007-12-13 Ville Vainio <vivainio@gmail.com> | |
|
2 | ||||
|
3 | * iplib.py(raw_input): unix readline does not allow unicode in | |||
|
4 | history, encode to normal string. After patch by Tiago. | |||
|
5 | Close #201 | |||
2 |
|
6 | |||
3 | * genutils.py (abbrev_cwd): Terminal title now shows 2 levels of current |
|
7 | 2007-12-12 Ville Vainio <vivainio@gmail.com> | |
4 | directory. |
|
|||
5 |
|
8 | |||
6 | * iplib.py: We now set system default encoding to sys.stdin.encoding with |
|
9 | * genutils.py (abbrev_cwd): Terminal title now shows 2 levels of | |
7 | sys.setdefaultencoding, after a patch by 'pan'. This makes str() calls that |
|
10 | current directory. | |
8 | IPython still has implicitly work. This should be removed when such calls |
|
|||
9 | are cleaned. |
|
|||
10 |
|
11 | |||
11 | 2007-12-12 Fernando Perez <Fernando.Perez@colorado.edu> |
|
12 | 2007-12-12 Fernando Perez <Fernando.Perez@colorado.edu> | |
12 |
|
13 |
General Comments 0
You need to be logged in to leave comments.
Login now