[python-win32] LOCALE related stuff Re: Setting environment

Nalli Dinesh nalli.dinesh at gmail.com
Wed May 11 23:27:50 CEST 2005


wow.Thanks Roger for letting the group know about the bug fix on this
os.environ issue. I never used python2.4.1. But I don;t intend as of
now to move to 2.4.1 from 2.4. And the link u gave me to see the bug
fix has a patch code below to add to os.py file in python2.4 as a bug
fix. How do I integrate this patch. Do I just need to copy this patch
and put it somewhere in os.py file under python2.4

On 5/11/05, Roger Upole <rwupole at msn.com> wrote:
> 
> > Tim/Paul/Tony
> > Thanks for the suggestions and bringing clarity to the issue. After
> > understanding your suggestions, I want to go striaght to the actual
> > issue down below that made me to post environment issue.
> > The actual issue/Problem:
> > Its kind of funny tome right now, but letme shoot the problem so that
> > we can have a clear cut idea as in whats the bug in python, or may be
> > I don;t know I am missing on something.
> > I using locale.setlocale and u guys know when we use this setlocale.
> > Yes I am working on Localising my application-a pygtk application.
> > When one says
> > import locale
> > locale.setlocale(locale.LC_ALL, ' ')
> >
> > This sets the locale for all categories to the user's default setting
> > (typically specified in the LANG environment variable).
> > I use Python2.4
> 
> Have you tried 2.4.1 ?  There was a bug fix related to updating os.environ.
> http://python.org/sf/1110478
> 
>      Roger
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>


More information about the Python-win32 mailing list