]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139353: Rename formatter_unicode.c to unicode_formatter.c (#139723)
authorVictor Stinner <vstinner@python.org>
Wed, 8 Oct 2025 12:56:00 +0000 (14:56 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Oct 2025 12:56:00 +0000 (14:56 +0200)
commit3d3f126e86c653f9727c42081d9ce2e4a4d15de3
tree69a303260de70cb6b47e4aab9620e147f94475fc
parent5cea8435943b4f9d22c89c80d86c2ba3b392c6f9
gh-139353: Rename formatter_unicode.c to unicode_formatter.c (#139723)

* Move Python/formatter_unicode.c to Objects/unicode_formatter.c.
* Move Objects/stringlib/localeutil.h content into
  unicode_formatter.c. Remove localeutil.h.
* Move _PyUnicode_InsertThousandsGrouping() to unicode_formatter.c
  and mark the function as static.
* Rename unicode_fill() to _PyUnicode_Fill() and export it in
  pycore_unicodeobject.h.
* Move MAX_UNICODE to pycore_unicodeobject.h as _Py_MAX_UNICODE.
Include/internal/pycore_unicodeobject.h
Makefile.pre.in
Objects/stringlib/localeutil.h [deleted file]
Objects/unicode_formatter.c [moved from Python/formatter_unicode.c with 88% similarity]
Objects/unicodeobject.c
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/fileutils.c