[Numpy-tickets] [NumPy] #643: Tracebacks in Turkish locales
NumPy
numpy-tickets@scipy....
Sat Jan 12 03:05:53 CST 2008
#643: Tracebacks in Turkish locales
--------------------+-------------------------------------------------------
Reporter: marco | Owner: rkern
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.5
Component: Other | Version: none
Severity: normal | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Changes (by rkern):
* summary: Traceback when imported after gtk => Tracebacks in Turkish
locales
Comment:
A better replication of the problem without GTK:
{{{
$ LANG=tr_TR.UTF-8 python -c "import
locale;locale.setlocale(locale.LC_ALL, '');print repr('VOID'.lower())"
'voId'
}}}
The problem may exist in buggy versions of glibc, as this is (apparently)
not even the correct result in the Turkish locale. Nonetheless, the
results of {{{str.lower()}}} is documented to be locale-dependent, so we
should not rely on English rules for internal strings like 'VOID' here.
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/643#comment:6>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list