[IPython-user] Testers requested - 0.7.4.rc1, with async cross-thread exceptions

Stefan van der Walt stefan@sun.ac...
Sat Apr 7 12:49:21 CDT 2007


On Sat, Apr 07, 2007 at 02:18:43PM +0200, Nicolas Pernetty wrote:
> 3) This line in iplib.py (line 1983) :
> line = raw_input_original(prompt).decode(sys.stdin.encoding)
> is breaking IPython in Xemacs on Windows XP because there is no
> sys.stdin.encoding :
> In [1]: import sys
> In [2]: print sys.stdin.encoding
> None

That should be

line = raw_input_original(prompt).decode(sys.stdin.encoding or 'ascii')

Cheers
Stéfan


More information about the IPython-user mailing list