[Numpy-tickets] [NumPy] #643: Tracebacks in Turkish locales
NumPy
numpy-tickets@scipy....
Sat Jan 12 05:44:34 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: |
--------------------+-------------------------------------------------------
Comment (by rkern):
FWIW, on my OS X Leopard box:
{{{
]$ LANG=tr_TR LC_ALL=tr_TR python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'tr_TR'
>>> 'VOID'.lower()
'void'
>>> u'VOID'.lower()
u'void'
}}}
On a Fedora Core system (I'm not entirely sure what glibc version):
{{{
$ LANG=tr_TR LC_ALL=tr_TR python
Python 2.4.3 (#1, Mar 14 2007, 19:01:42)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'tr_TR'
>>> 'VOID'.lower()
'vo\xfdd'
>>> u'VOID'.lower()
u'void'
>>>
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/643#comment:7>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list