[New-bugs-announce] [issue2173] Pyton fails silently on bad locale

Michael Otteneder report at bugs.python.org
Sun Feb 24 11:26:30 CET 2008

New submission from Michael Otteneder:

Python seems to fail silently when LANG enviroment variable is set to a
bad value. In Mac OS X Leopard it is set too UTF-8 for instance which
does not seem to be valid. Python fails building the modules during make
and the generated python.exe is unable to output anything. Setting the
LANG variable to C or some other valid value fixes the problem. But I
suppose python should fail more verbose in case of a bad locale,or maybe
it should fallback to a standard locale.

components: Interpreter Core
messages: 62892
nosy: motteneder
severity: normal
status: open
title: Pyton fails silently on bad locale
type: behavior
versions: Python 3.0

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list