Re: python2.3 removed - open bugs
close 185776
thanks
Seems to be resolved to some degree - please reopen if I am wrong
,--
|
| *$> LC_ALL=en_DK python2.2
| Python 2.2.3+ (#1, Aug 30 2005, 15:57:46)
| [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import locale; locale.getlocale()
| Traceback (most recent call last):
| File "<stdin>", line 1, in ?
| File "/usr/lib/python2.2/locale.py", line 365, in getlocale
| return _parse_localename(localename)
| File "/usr/lib/python2.2/locale.py", line 280, in _parse_localename
| raise ValueError, 'unknown locale: %s' % localename
| ValueError: unknown locale: en_DK
| >>>
| $> LC_ALL=en_DK python2.3
| Python 2.3.5 (#2, Oct 18 2006, 23:04:45)
| [GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import locale; locale.getlocale()
| (None, None)
| >>>
| $> LC_ALL=en_DK python2.4
| Python 2.4.4 (#2, Oct 20 2006, 00:23:25)
| [GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import locale; locale.getlocale()
| (None, None)
| >>>
|
`---
On Tue, 09 Jan 2007, Martin Michlmayr wrote:
> 185776: important: python2.2: locale.getlocale doesn't handle all locales gracefully
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
Reply to: