commit | 6f5fa1b4be735159e964906ab608dc467476e47c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Mon Nov 26 14:17:01 2018 +0100 |
committer | GitHub <noreply@github.com> | Mon Nov 26 14:17:01 2018 +0100 |
tree | 334f91923d65f214145651f007320590ee3ec13e | |
parent | e88553c3742507ba83590ecca44ae7f134f38410 [diff] |
bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) (GH-10718) Fix str.format(), float.__format__() and complex.__format__() methods for non-ASCII decimal point when using the "n" formatter. Rewrite _PyUnicode_InsertThousandsGrouping(): it now requires a _PyUnicodeWriter object for the buffer and a Python str object for digits. (cherry picked from commit 59423e3ddd736387cef8f7632c71954c1859bed0)