diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-30 11:58:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-30 11:58:10 (GMT) |
commit | 905f1ace5f7424e314ca7bed997868a2a3044839 (patch) | |
tree | 19ad55e69a5370595a3c267be6d0115eda48fff5 /Include/sysmodule.h | |
parent | b232df9197a19e78d0e2a751e56e0e62547354ec (diff) | |
download | cpython-905f1ace5f7424e314ca7bed997868a2a3044839.zip cpython-905f1ace5f7424e314ca7bed997868a2a3044839.tar.gz cpython-905f1ace5f7424e314ca7bed997868a2a3044839.tar.bz2 |
bpo-34523: Fix config_init_fs_encoding() for ASCII (GH-10232)
* bpo-34523, bpo-34403: Fix config_init_fs_encoding(): it now uses
ASCII if _Py_GetForceASCII() is true.
* Fix a regression of commit b2457efc78b74a1d6d1b77d11a939e886b8a4e2c.
* Fix also a memory leak: get_locale_encoding() already allocates
memory, no need to duplicate the string.
Diffstat (limited to 'Include/sysmodule.h')
0 files changed, 0 insertions, 0 deletions