[Bug 361455] [NEW] summary: python3.0 common_configure_args in debian/rules should have "--with-wide-ucs"

bellbind bellbind at gmail.com
Wed Apr 15 02:32:58 UTC 2009


Public bug reported:

Binary package hint: python3.0

At jaunty python3.0 package, common_configure_args in debian/rules
should have "--with-wide-ucs" as:

common_configure_args = \
                --prefix=/usr \
                --enable-ipv6 \
                --with-system-ffi \
                --with-wide-ucs \


The python2.6 (or python2.5) package is configured with "--enable-unicode=ucs4".
It makes programs handle any UCS4 unicode character as a single character.
for example:

#!/usr/bin/python2.6
print(len(u'\U0002000B')) # => 1: it is a surrogate-pair character if encoding to UTF-16


But current python3.0_3.0.1-0ubuntu12 package is no "--with-wide-ucs" args, the character cannot handle as a single:

#!/usr/bin/python3.0
print(len('\U0002000B')) # => 2

** Affects: python3.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
summary: python3.0 common_configure_args in debian/rules should have "--with-wide-ucs"
https://bugs.launchpad.net/bugs/361455
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list