Files
cpython/Objects
Neal Norwitz 7fb3aa7b3c Backport:
- Patch #1400181, fix unicode string formatting to not use the locale.
  This is how string objects work.  u'%f' could use , instead of .
  for the decimal point.  Now both strings and unicode always use periods.

This is the code that would break:

    import locale
    locale.setlocale(locale.LC_NUMERIC, 'de_DE')
    u'%.1f' % 1.0
    assert '1.0' == u'%.1f' % 1.0

I couldn't create a test case which fails, but this fixes the problem.
(tested in interpreter and reported fixed by others)
2006-01-10 06:05:57 +00:00
..
2000-05-02 18:34:30 +00:00
2001-08-29 23:54:21 +00:00
2005-02-17 10:43:12 +00:00
2005-07-18 07:24:37 +00:00
2005-07-11 05:57:11 +00:00
2006-01-10 06:05:57 +00:00