]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90817: Deprecate explicitly locale.resetlocale() (GH-93196)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 May 2022 20:29:58 +0000 (13:29 -0700)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 20:29:58 +0000 (13:29 -0700)
commit83940c07666090301168d0108cf545d3db28b925
tree9dbad2734d8cb8a6d7987372a20fbd0d7025d16e
parent37a7f1b0997466bb088df82f5fe35fe6d1cebb22
gh-90817: Deprecate explicitly locale.resetlocale() (GH-93196)

The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
(cherry picked from commit bf58cd01b313837511d9399f18588ccd2e5dc5a9)

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/locale.rst
Doc/whatsnew/3.11.rst
Lib/locale.py
Misc/NEWS.d/next/Library/2022-05-25-02-45-41.gh-issue-90817.yxANgU.rst [new file with mode: 0644]