[Python-bugs-list] [ python-Bugs-414940 ] locale.format broken in 2.1b2
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 12 Apr 2001 14:37:11 -0700
Bugs item #414940, was updated on 2001-04-09 09:35
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=414940&group_id=5470
Category: Python Library
Group: None
Status: Open
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Martin v. Löwis (loewis)
Summary: locale.format broken in 2.1b2
Initial Comment:
locale.format seems
to be broken in 2.1b2:
>>> import locale
>>> locale.format("%+.02f", -42., 1)
'-+42.00'
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2001-04-12 14:37
Message:
Logged In: YES
user_id=21627
A fix for that bug is now available at
http://sourceforge.net/tracker/index.php?group_id=5470&atid=305470
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-04-10 12:15
Message:
Logged In: YES
user_id=6380
Yup, it's broken. A simpler example is: locale.format("%+f", -42.).
Assigned to Martin, who is probably the author. The code is incomprehensible to me (after 1 minute of trying :-).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=414940&group_id=5470