--- /usr/lib/python2.7/locale.py 2011-10-05 13:52:17.000000000 +0200 +++ ./locale.py 2011-10-28 11:55:35.579474129 +0200 @@ -135,8 +135,6 @@ grouping = conv[monetary and 'mon_grouping' or 'grouping'] if not grouping: return (s, 0) - result = "" - seps = 0 if s[-1] == ' ': stripped = s.rstrip() right_spaces = s[len(stripped):]