[Bug 824734] Re: locale.normalize does not accept unicode: TypeError in normalize(): character mapping must return integer, None or unicode
Paul Tagliamonte
paultag at ubuntu.com
Mon Aug 15 12:23:02 UTC 2011
** Changed in: python2.7 (Ubuntu)
Status: Confirmed => Triaged
** Changed in: python2.7 (Ubuntu)
Importance: Undecided => High
--
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 “python2.7” package in Ubuntu:
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/ubuntu/+source/python2.7/+bug/824734/+subscriptions
More information about the foundations-bugs
mailing list