[IPython-dev] Ticket #228
Ville M. Vainio
Wed Feb 20 16:23:22 CST 2008
On Wed, Feb 13, 2008 at 9:57 PM, Jörgen Stenarson
> Looking at the crash_report it looks like pyreadline_codepage is None.
> This may be the clue we need to decide that ipython was started through
> ssh. However it may be too late since pyreadline has already been
> imported and installed by the time we get this crash. Since by default
> pyreadline_codepage comes from sys.stdout.encoding we would just have to
> check that sys.stdout.encoding is not None before importing pyreadline.
Why not just set encoding to ascii if it appears to be None? Either
way, we must prevent this crash.
BTW, how about setting pyreadline up at Launchpad as well?
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev