Bug 69322 - python ebuild does not support wide char type functions
|
Bug#:
69322
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P1
|
|
Resolution: WONTFIX
|
Assigned To: python@gentoo.org
|
Reported By: caglar@pardus.org.tr
|
|
Component: Core system
|
|
|
URL:
http://www.python.org
|
|
Summary: python ebuild does not support wide char type functions
|
|
Keywords: Inclusion
|
|
Status Whiteboard:
|
|
Opened: 2004-10-28 14:28 0000
|
Python [ 2.3.x series ] can handle wide chars, but current ebuilds not use this
functions properly. For example in tr_TR.UTF-8 locale, upper case of "i" is
differ than "I" ( correct one is I WITH THE DOT ABOVE ), and lower case of "I"
is differ than "i" ( correct one is LATIN SMALL LETTER DOTLESS I ) but if wide
char support is not enabled then python converts them into "I" and "i"
respectively, which is wrong.
Maybe a local USE flag can be implemented and used in ebuild. ( Patch is
written by Baris Metin <baris@uludag.org.tr> )
i'd support adding it as a default option and not underneath a useflag. we'll
consider this for python-2.4
what's the status of this?
Because of this problem, i suggested to implement a use flag, so decision may
made by user( all Turkish spoken users need this to correct case operations ).
I think "unicode" flag suitable for this situation like this;
if use unicode; then
myconf="${myconf} --with-wctype-functions"
fi
what u think?
unicode isn't a suitable flag in this case, if it is only for the turkish
locale. the problems that they describe seem to be quite serious (toupper() and
tolower() giving the wrong output), but i'm not sure whether it applies to the
turkish locale.
i'm not quite sure what the status of linguas support is, but maybe using that
to enable it would be better. the unicode is used for many other languages like
chinese and japanese that don't require wctype support for normal operations.
After talked with kloeri in irc, i just send an email to python-dev to get
status of wctype support in Python. As soon as they reply, ill also update
here...