[Python-Dev] Re: [Python-checkins] python/dist/src/Lib textwrap.py,1.18,1.19

Guido van Rossum guido@python.org
Wed, 11 Dec 2002 11:01:23 -0500


> > But I thought I fixed that in 2.3, by restoring the locale after
> > initializing GNU readline.  Maybe the Mac IDE environment starts up in
> > a different locale?  Would be typical for Mac...
> 
> I thought I clearly showed command line examples. This is a vanilla
> Unix Python.
> 
> Martin: yes, I've got readline installed and yes Python was built from CVS.

Hm.  Mayb the code in Modules/readline.c somehow has the setlocale()
call #ifdef'ed out?  Can you put a printf inside the #ifdef
SAVE_LOCALE block to see if it is executed?

--Guido van Rossum (home page: http://www.python.org/~guido/)