On 1/8/06, "Martin v. Löwis" <martin at v.loewis.de> wrote: > Georg Brandl wrote: > > >>> import locale > > >>> locale.setlocale(locale.LC_NUMERIC, "") > > 'de_DE at euro' > > >>> u"%f" % 1.0 > > u'1,000000' > > > > Is this intended? This breaks test_format on my box when test_builtin (method > > test_float_with_comma) is executed first. > > No. %-formatting should always use the C locale. One should use > locale.format to get locale-aware formatting. http://python.org/sf/1400181 fixes this problem I hope. n
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4