| commit | b1a91d26c67250ff7abeb20064e7766096604001 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <vstinner@python.org> | Tue Jun 06 16:55:21 2023 +0200 |
| committer | GitHub <noreply@github.com> | Tue Jun 06 16:55:21 2023 +0200 |
| tree | 8d93339fa3dd90aae408c5ff63b0a71fd409f64d | |
| parent | 3a975b5e92736cd2f68a09aa71a17d373b9355e9 [diff] |
gh-104783: locale.getencoding() fallback uses FS encoding (#105381) The locale.getencoding() function now uses sys.getfilesystemencoding() if _locale.getencoding() is missing, instead of calling locale.getdefaultlocale().