Revision 59423e3ddd736387cef8f7632c71954c1859bed0 authored by Victor Stinner on 26 November 2018, 12:40:01 UTC, committed by GitHub on 26 November 2018, 12:40:01 UTC
Fix str.format(), float.__format__() and complex.__format__() methods for non-ASCII decimal point when using the "n" formatter. Changes: * Rewrite _PyUnicode_InsertThousandsGrouping(): it now requires a _PyUnicodeWriter object for the buffer and a Python str object for digits. * Rename FILL() macro to unicode_fill(), convert it to static inline function, add "assert(0 <= start);" and rework its code.
1 parent df108dc
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
m4 | ||
.gitattributes | -rw-r--r-- | 1.5 KB |
.gitignore | -rw-r--r-- | 1.6 KB |
.travis.yml | -rw-r--r-- | 7.6 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 609 bytes |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 62.3 KB |
README.rst | -rw-r--r-- | 9.8 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.1 KB |
config.sub | -rwxr-xr-x | 35.4 KB |
configure | -rwxr-xr-x | 483.6 KB |
configure.ac | -rw-r--r-- | 158.7 KB |
install-sh | -rwxr-xr-x | 15.0 KB |
pyconfig.h.in | -rw-r--r-- | 42.6 KB |
setup.py | -rw-r--r-- | 98.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...