Re: locale.getlocale() in cmd.exe vs. Idle

2014-11-11 Thread random832
On Tue, Nov 11, 2014, at 09:47, Albert-Jan Roskam wrote: > - Original Message - > > From: Terry Reedy > > To: python-list@python.org > > Cc: > > Sent: Monday, November 10, 2014 9:31 PM > > Subject: Re: locale.getlocale() in cmd.exe vs. Idle > >

Re: locale.getlocale() in cmd.exe vs. Idle

2014-11-11 Thread random832
On Tue, Nov 11, 2014, at 09:47, Albert-Jan Roskam wrote: > - Original Message - > > From: Terry Reedy > > To: python-list@python.org > > Cc: > > Sent: Monday, November 10, 2014 9:31 PM > > Subject: Re: locale.getlocale() in cmd.exe vs. Idle > >

Re: locale.getlocale() in cmd.exe vs. Idle

2014-11-11 Thread Albert-Jan Roskam
- Original Message - > From: Terry Reedy > To: python-list@python.org > Cc: > Sent: Monday, November 10, 2014 9:31 PM > Subject: Re: locale.getlocale() in cmd.exe vs. Idle > > On 11/10/2014 4:22 AM, Albert-Jan Roskam wrote: >> Hi, >> >

Re: locale.getlocale() in cmd.exe vs. Idle

2014-11-10 Thread Terry Reedy
On 11/10/2014 4:22 AM, Albert-Jan Roskam wrote: Hi, Why do I get different output for locale.getlocale() in Idle vs. cmd.exe? # IDLE Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. import lo

locale.getlocale() in cmd.exe vs. Idle

2014-11-10 Thread Albert-Jan Roskam
Hi, Why do I get different output for locale.getlocale() in Idle vs. cmd.exe? # IDLE Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import locale >>> locale.getdefaultlocale() ('nl_NL', 'c