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

bellbind bellbind at gmail.com
Wed Apr 15 02:48:56 UTC 2009


** Description changed:

  Binary package hint: python3.0
  
  At jaunty python3.0 package, common_configure_args in debian/rules
  should have "--with-wide-unicode" as:
  
  common_configure_args = \
                  --prefix=/usr \
                  --enable-ipv6 \
                  --with-system-ffi \
                  --with-wide-unicode \
  
  
  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 encoded to UTF-16
  
  
- But current python3.0_3.0.1-0ubuntu12 package is no "--with-wide-unicode" args, the character cannot be handled as a single:
+ But current python3.0_3.0.1-0ubuntu12 package is no "--with-wide-unicode". So the character cannot be handled as a single:
  
  #!/usr/bin/python3.0
  print(len('\U0002000B')) # => 2

-- 
summary: python3.0 common_configure_args in debian/rules should have "--with-wide-unicode"
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