Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10760 - [python] is built without USC4 support

Attached to Project: Arch Linux
Opened by Mika Hynnä (ighea) - Thursday, 26 June 2008, 00:35 GMT
Last edited by Allan McRae (Allan) - Saturday, 11 September 2010, 04:37 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Could python package be build with configuration option --enable-unicode=ucs4 so we could get some python applications depending on UCS4-support working too and not failing with error messages similar to following:

[~]$ vodafone-mobile-connect-card-driver-for-linux
Traceback (most recent call last):
from _gobject import type_from_name
ImportError: /opt/vmc/lib/python/site-packages/gtk-2.0/gobject/_gobject.so: undefined symbol: PyUnicodeUCS4_FromObject

In my opinion adding UCS4-support would greatly improve Arch Linux's usability in the future especially with 3G-modem driver applications as shown above.

There does not seem to be any drawbacks with this either if I'm not totally wrong.

Additional information:
http://en.wikipedia.org/wiki/UTF-32
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 11 September 2010, 04:37 GMT
Reason for closing:  Implemented
Additional comments about closing:  This is enabled in the python2 (2.7) and python (3.1) packages that the repos are being built for now.
Comment by Allan McRae (Allan) - Thursday, 26 June 2008, 09:22 GMT
Including this actually breaks every module build using the USC2/UTF-16 (current) option so this would require a rebuild of every python package. I'll defer this until the transition to python3.
Comment by Chen Xing (chenxing) - Sunday, 02 May 2010, 15:58 GMT
Multi-lingual problems should not be deferred! It affects the daily use of many non-English speakers!

For me, I ran into problems when processing Chinese documents. It's not rare that UCS4 characters appear in some Chinese documents.

Please consider do the transition now. Thank you very much in advance.
Comment by Aaron Griffin (phrakture) - Sunday, 02 May 2010, 15:58 GMT
Reopening, as this was deferred about 2 years ago, and it hasn't been fixed. I imagine it's a big problem for some Asian languages
Comment by Allan McRae (Allan) - Sunday, 02 May 2010, 16:06 GMT
I am not going to do this. But anybody who wants to rebuild every python package in our repos and break almost every other module that people are currently using should feel free to tackle it...

I am transitioning Arch to python-3.x with the release of python-2.7 (about two months away) but even then only python-3 will be built with wide character support and python-2 will stay as it is for compatibility reasons.
Comment by Allan McRae (Allan) - Sunday, 02 May 2010, 16:12 GMT
In fact, thinking about it, the python3 transition is going to require rebuilding a large portion of python modules to depend on "python2" instead of "python", so this can probably be tackled then without to much additional burden.
Comment by wanglihe (Hermeswang) - Tuesday, 11 May 2010, 02:28 GMT
Hi Allan.I have another request for python, and when I searched for "python", I got this. I have an idea for this problem. Why you don't make these package:python-meta python2 python3 and change package python to alias python-meta? Then from now on, anybody install python means install python2 and python3. In this way, there's no package will be broken, and who need python3, good luck to him for he knows difference between python2 and python3.
And I have another request for sip. Maybe you should send this to Andrea Scarpino, but I think here is also a good place. It seems that sip can support python2 and python3. But now only installed for python2. And this is also happened with pyqt, maybe dbus-python need update for this also. Could you do this for everybody? By the way, there is already some packages on aur, but "offical" is good right?
Comment by Allan McRae (Allan) - Tuesday, 11 May 2010, 03:16 GMT
Open a new bug report for unrelated feature requests rather than clutter this one with unrelated information.
Comment by wanglihe (Hermeswang) - Tuesday, 11 May 2010, 08:21 GMT
OK @^_^@. But I think they are related, and maybe "same".

Loading...