GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING

[Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING

"Martin v. Löwis" martin at v.loewis.de
Tue May 20 22:24:00 CEST 2008

  • Previous message: [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING
  • Next message: [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

> What about PYTHONLANG ?
> 
> or something that tries to reflect which environment variables are used
> for this ?
> 
> (LC_CTYPE -> PYTHONCTYPE ?  if the code uses just LC_CTYPE)

It's not meant to name a locale, but an encoding. In fact, that the
encoding is tied to the locale is IMO a misconception in the POSIX
locale machinery.

> http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_08_02
> 
> Just for my own knowledge: why it has to be one word ? can't it be
> PYTHON_LANG ?

No technical reason - just because PYTHONPATH, PYTHONHOME,
PYTHONUNBUFFERED, PYTHONVERBOSE, PYTHONSTARTUP, and PYTHONCASEOK don't
have underscores, either.

Regards,
Martin

  • Previous message: [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING
  • Next message: [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.