[IPython-dev] IPython 0.10.1 -pylab

Eric Firing efiring@hawaii....
Sun Oct 10 13:56:14 CDT 2010


On 10/10/2010 07:47 AM, Fernando Perez wrote:
> On Sun, Oct 10, 2010 at 9:41 AM, Jörgen Stenarson
> <jorgen.stenarson@bostream.nu>  wrote:
>>
>> For me there are some issues with the default codepage that is set in
>> the console window when you launch python.
>>
>> If you are having the same problem I have experienced then
>> <http://packages.python.org/pyreadline/usage.html#international-characters>
>> may help you resolve your issues.
>> If not please let me know and I will try to improve the explanation.
>
> Thanks for the feedback, Jorgen.
>
> What puzzles me about Peter's problem is that I don't get why the
> --pylab switch should in any way affect the behavior related to
> unicode/codepages...  Does anyone have an idea on this front?

This sounds dimly familiar--could the fact that mpl imports locale (in 
cbook.py) be causing this?  A quick google did not turn anything up, but 
I think there was something like this reported earlier, where importing 
pylab was subtly changing the environment.

Eric

>
> Peter, could you test using
>
> --pylab wx
> --pylab gtk
> --pylab tk
> --pylab qt (if you have pyqt installed)
>
> and let us know if there's any difference?  I wonder if the gui
> toolkit is messing with stdin in any way.
>
> I'm honestly shooting in the dark here, so if anyone has a better
> idea, by all means speak up.
>
> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



More information about the IPython-dev mailing list