]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94226: Remove the locale.format() function (#94229)
authorVictor Stinner <vstinner@python.org>
Sun, 26 Jun 2022 10:41:19 +0000 (12:41 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Jun 2022 10:41:19 +0000 (12:41 +0200)
commitcc0d5e568e1cd02ed71ade46e77789b3b2674871
tree7207b5383611a2ab4ef55c67fb2a5f023ad3f458
parent44c8e68b8cae2627ffe54a2ef407af0271981ed3
gh-94226: Remove the locale.format() function (#94229)

Remove the locale.format() function, deprecated in Python
3.7: use locale.format_string() instead.

Remove TestFormatPatternArg test case: it is irrelevant for
locale.format_string() which accepts complex formats.
Doc/library/locale.rst
Doc/tutorial/stdlib2.rst
Doc/whatsnew/3.12.rst
Lib/locale.py
Lib/test/test_locale.py
Misc/NEWS.d/next/Library/2022-06-24-18-20-42.gh-issue-94226.8ZL4Fm.rst [new file with mode: 0644]