diff options
| author | Victor Stinner <vstinner@python.org> | 2023-06-06 14:55:21 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-06 14:55:21 (GMT) |
| commit | b1a91d26c67250ff7abeb20064e7766096604001 (patch) | |
| tree | 8d93339fa3dd90aae408c5ff63b0a71fd409f64d /Python/Python-tokenize.c | |
| parent | 3a975b5e92736cd2f68a09aa71a17d373b9355e9 (diff) | |
| download | cpython-b1a91d26c67250ff7abeb20064e7766096604001.zip cpython-b1a91d26c67250ff7abeb20064e7766096604001.tar.gz cpython-b1a91d26c67250ff7abeb20064e7766096604001.tar.bz2 | |
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().
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions
