]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46659: Deprecate locale.getdefaultlocale() (GH-31206)
authorVictor Stinner <vstinner@python.org>
Tue, 22 Feb 2022 21:06:43 +0000 (22:06 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Feb 2022 21:06:43 +0000 (22:06 +0100)
commitb899126094731bc49fecb61f2c1b7557d74ca839
tree0fcb5dbe42994f32e7caf03514cbfd11fdca825b
parentccbe8045faf6e63d36229ea4e1b9298572cda126
bpo-46659: Deprecate locale.getdefaultlocale() (GH-31206)

The locale.getdefaultlocale() function is deprecated and will be
removed in Python 3.13. Use locale.setlocale(),
locale.getpreferredencoding(False) and locale.getlocale() functions
instead.
Doc/library/locale.rst
Doc/whatsnew/3.11.rst
Lib/locale.py
Lib/test/test_locale.py
Misc/NEWS.d/next/Library/2022-02-06-17-57-45.bpo-46659.zTmkoQ.rst [new file with mode: 0644]