locale module broken?

Carsten Gaebler clpy at snakefarm.org
Fri Mar 15 18:14:10 EST 2002


Hi there,

while playing around with Greg Lindstrom's "Pretty integers" (see his
posting), my Python 2.2 got stuck here:

>>> import locale
>>> locale.setlocale(locale.LC_ALL, "fr_FR")
'fr_FR'
>>> locale.format("%.1f", 12345.5, 1)

It runs forever. This is on RedHat 6.2 and Debian Potato. Any hints?
Note that I didn't "./configure --without-french". :-)

cg.
-- 
Why settle for snake oil if you can have the whole snake?
http://python.org/



More information about the Python-list mailing list