]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104783: locale.getlocale() calls sys.getfilesystemencoding() (#105401)
authorVictor Stinner <vstinner@python.org>
Tue, 6 Jun 2023 18:19:40 +0000 (20:19 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2023 18:19:40 +0000 (18:19 +0000)
commit221d703498d84e363070c89c28f839edceaac9b2
tree4b2ad0424899640925bee0bf943d09117d575d4b
parent2b8e6e5712a83657333948bc387c81db02549b13
gh-104783: locale.getlocale() calls sys.getfilesystemencoding() (#105401)

locale.getlocale() always calls sys.getfilesystemencoding(), instead
of calling it only once.
Lib/locale.py