Your message dated Fri, 31 Aug 2012 17:37:10 +0200
with message-id
<CADk7b0PsksF=d2bvzm_uz3uy-2illvh8e7sfvepghgpcaok...@mail.gmail.com>
and subject line Fixed in supported Python versions
has caused the Debian Bug report #405618,
regarding python2.4: using locale does not display the intended behavior
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
405618: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405618
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python2.4
Version: 2.4.4-1
Severity: normal
Hello, if I interpret correctly http://docs.python.org/lib/node746.html
the characters 'é', 'ç' and so on should be members of
string.lowercase when the locale is set on a french one.
But as you can see here this is not the case:
% python
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.setlocale(locale.LC_ALL, '')
'LC_CTYPE=fr_BE.UTF-8;LC_NUMERIC=fr_BE.UTF-8;LC_TIME=fr_BE.UTF-8;LC_COLLATE=C;LC_MONETARY=fr_BE.UTF-8;LC_MESSAGES=fr_BE.UTF-8;LC_PAPER=fr_BE.UTF-8;LC_NAME=fr_BE.UTF-8;LC_ADDRESS=fr_BE.UTF-8;LC_TELEPHONE=fr_BE.UTF-8;LC_MEASUREMENT=fr_BE.UTF-8;LC_IDENTIFICATION=fr_BE.UTF-8'
>>> import string
>>> string.lowercase
'abcdefghijklmnopqrstuvwxyz'
I also tried to import string before the setlocale call or before the
import locale call but it did not work either.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Versions of packages python2.4 depends on:
ii libbz2-1.0 1.0.3-6 high-quality block-sorting file co
ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [
ii libncursesw5 5.5-5 Shared libraries for terminal hand
ii libreadline5 5.2-2 GNU readline and history libraries
ii libssl0.9.8 0.9.8c-4 SSL shared libraries
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii python2.4-minimal 2.4.4-1 A minimal subset of the Python lan
python2.4 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
This issue has been solved at least with python2.6, which is the
default Python version in Squeeze and supported in Wheezy.
--- End Message ---