COMMITS
/ Lib/locale.py February 27, 2026
December 23, 2025
V
gh-130796: Undeprecate locale.getdefaultlocale() (#143069)
Victor Stinner committed
December 18, 2025
M
Fix typo in `format_string` docstring (GH-136742)
Max R committed
August 18, 2025
S
gh-137729: Fix support for locales with @-modifiers (GH-137253)
Serhiy Storchaka committed
July 15, 2025
A
GH-133711: Enable UTF-8 mode by default (PEP 686) (#133712)
Adam Turner committed
June 10, 2025
S
gh-133967: Do not normalize locale name 'C.UTF-8' to 'en_US.UTF-8' (#135347)
Serhiy Storchaka committed
March 27, 2025
S
gh-118761: Always lazy import `re` in `locale` (#129860)
Semyon Moroz committed
February 4, 2025
S
gh-129646: Update the locale alias mapping (#129647)
Serhiy Storchaka committed
April 1, 2024
S
gh-91565: Replace bugs.python.org links with Devguide/GitHub ones (GH-91568)
Steve (Gadget) Barnes committed
October 25, 2023
H
gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 (#111188)
Hugo van Kemenade committed
June 6, 2023
V
gh-104783: locale.getlocale() calls sys.getfilesystemencoding() (#105401)
Victor Stinner committed
V
gh-104783: locale.getencoding() fallback uses FS encoding (#105381)
Victor Stinner committed
V
gh-104783: Remove locale.resetlocale() function (#104784)
Victor Stinner committed
April 26, 2023
G
gh-74940: Allow fallback to UTF-8 encoding on systems with no locales installed (GH-14925)
Gordon Messmer committed
March 30, 2023
J
gh-103085: Fix python locale.getencoding not to emit deprecation warning (gh-103086)
Jeong, YunWon committed
June 26, 2022
V
gh-94226: Remove the locale.format() function (#94229)
Victor Stinner committed
May 25, 2022
V
gh-90817: Deprecate explicitly locale.resetlocale() (#93196)
Victor Stinner committed
April 30, 2022
I
gh-91954: Emit EncodingWarning from locale and subprocess (GH-91977)
Inada Naoki committed
April 14, 2022
I
gh-91156: Fix `encoding="locale"` in UTF-8 mode (GH-70056)
Inada Naoki committed
April 9, 2022
I
bpo-47000: Add `locale.getencoding()` (GH-32068)
Inada Naoki committed
February 22, 2022
V
bpo-46659: Deprecate locale.getdefaultlocale() (GH-31206)
Victor Stinner committed
February 3, 2022
N
bpo-46565: `del` loop vars that are leaking into module namespaces (GH-30993)
Nikita Sobolev committed
April 12, 2021
C
bpo-34311: Add locale.localize (GH-15275)
Cédric Krier committed
October 31, 2020
V
bpo-42208: Add _locale._get_locale_encoding() (GH-23052)
Victor Stinner committed
January 20, 2020
I
bpo-38536: locale: Remove trailing space in formatted currency (GH-16864)
Inada Naoki committed
August 29, 2019
R
bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736)
Ronald Oussoren committed
May 6, 2018
S
Remove mojibake in the locale aliases mapping. (GH-6716)
Serhiy Storchaka committed
S
bpo-20087: Update locale alias mapping with glibc 2.27 supported locales. (ПР-6708)
Serhiy Storchaka committed
December 13, 2017
V
bpo-29240: PEP 540: Add a new UTF-8 Mode (#855)
Victor Stinner committed
September 25, 2017
S
bpo-30152: Reduce the number of imports for argparse. (#1269)
Serhiy Storchaka committed
April 24, 2017
S
bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263)
Serhiy Storchaka committed
April 5, 2017
S
bpo-29762: More use "raise from None". (#569)
Serhiy Storchaka committed
April 3, 2017
V
test_locale now ignores the DeprecationWarning (#977)
Victor Stinner committed
March 28, 2017
G
bpo-10379: add 'monetary' to format_string, deprecate format
Garvit Khatri committed
March 20, 2017
B
bpo-20087: Revert "make the glibc alias table take precedence over the X11 one (#422)" (#713)
Benjamin Peterson committed
March 8, 2017
B
make the glibc alias table take precedence over the X11 one (#422)
Benjamin Peterson committed
December 17, 2016
X
Issue #28596: The preferred encoding is UTF-8 on Android.
Xavier de Gaye committed
May 26, 2016
M
Issue #27076: Merge spelling from 3.5
Martin Panter committed
M
Issue #27076: Doc, comment and tests spelling fixes
Martin Panter committed
April 13, 2016
S
merge 3.5.
Senthil Kumaran committed
S
[minor] - Correct the docstring of locale.str. Patch by poleto.
Senthil Kumaran committed
November 3, 2015
V
locale.delocalize(): only call localeconv() once
Victor Stinner committed
May 12, 2015
S
Issue #22681: Added support for the koi8_t encoding.
Serhiy Storchaka committed
S
Issue #22682: Added support for the kz1048 encoding.
Serhiy Storchaka committed
October 23, 2014
A
Issue #13918: Provide a locale.delocalize() function which can remove
Antoine Pitrou committed
October 2, 2014
S
Issue #20079: Updated alias mapping to glibc 2.19 SUPPORTED file.
Serhiy Storchaka committed
S
Issue #20076: Remove just added the sr_rs.utf8@latn alias because it is
Serhiy Storchaka committed
October 1, 2014
S
Issue #20076: Added non derived UTF-8 aliases to locale aliases table.
Serhiy Storchaka committed
S
Issue #20079: Added locales supported in glibc 2.18 to locale alias table.
Serhiy Storchaka committed
December 26, 2013
S
Issue #20046: Locale alias table no longer contains entities which can be
Serhiy Storchaka committed