[Bug 824734] Re: locale.normalize does not accept unicode: TypeError in normalize(): character mapping must return integer, None or unicode
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Mon Aug 15 12:32:13 UTC 2011
** Tags added: regression-release
** Also affects: python2.7 (Ubuntu Oneiric)
Importance: High
Status: Triaged
** Changed in: python2.7 (Ubuntu Oneiric)
Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/824734
Title:
locale.normalize does not accept unicode: TypeError in normalize():
character mapping must return integer, None or unicode
Status in Python:
Unknown
Status in “python2.7” package in Ubuntu:
Triaged
Status in “python2.7” source package in Oneiric:
Triaged
Bug description:
locale.normalize does accept unicode strings anymore in python 2.7.2:
python2.7 -c "import locale; locale.normalize(u'en_US')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/locale.py", line 358, in normalize
fullname = localename.translate(_ascii_lower_map)
TypeError: character mapping must return integer, None or unicode
This breaks various packages, like updatemanager, playonlinux (bug
825421) and aptdaemon (bug 825056)
reported upstream:
http://bugs.python.org/issue12752
To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/824734/+subscriptions
More information about the foundations-bugs
mailing list