##// END OF EJS Templates
Fix unicode handling, patch by Stefan. Closes #129
fperez -
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 2135 2007-03-10 09:26:25Z fperez $
9 $Id: iplib.py 2168 2007-03-23 00:57:04Z fperez $
10 10 """
11 11
12 12 #*****************************************************************************
@@ -1977,7 +1977,7 b' want to merge them back into the new files.""" % locals()'
1977 1977 """
1978 1978
1979 1979 try:
1980 line = raw_input_original(prompt)
1980 line = raw_input_original(prompt).decode(sys.stdin.encoding)
1981 1981 except ValueError:
1982 1982 warn("\n********\nYou or a %run:ed script called sys.stdin.close() or sys.stdout.close()!\nExiting IPython!")
1983 1983 self.exit_now = True
@@ -1,3 +1,8 b''
1 2007-03-22 Fernando Perez <Fernando.Perez@colorado.edu>
2
3 * IPython/iplib.py (raw_input): Fix mishandling of unicode at
4 input. Patch sent by Stefan.
5
1 6 2007-03-20 J�rgen Stenarson <jorgen.stenarson@bostream.nu>
2 7 * IPython/Extensions/ipy_stock_completer.py
3 8 shlex_split, fix bug in shlex_split. len function
General Comments 0
You need to be logged in to leave comments. Login now