diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-23 02:12:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 02:12:27 (GMT) |
commit | 20e1e2582e5e69e43af88ff58699c8883d146acb (patch) | |
tree | 2726fa5c02f6b7ddd00eede7ecdaa2f5587e6fd7 /Modules/getaddrinfo.c | |
parent | bc2aa816620c5e02ad8e94d8514b7e8f3f551ca1 (diff) | |
download | cpython-20e1e2582e5e69e43af88ff58699c8883d146acb.zip cpython-20e1e2582e5e69e43af88ff58699c8883d146acb.tar.gz cpython-20e1e2582e5e69e43af88ff58699c8883d146acb.tar.bz2 |
bpo-36763: Fix _PyPreConfig_InitCompatConfig() utf8_mode (GH-13518)
* _PyPreConfig_InitCompatConfig() sets utf8_mode to 0.
* Change Py_UTF8Mode default value to 0.
* Fix _PyPreConfig_Copy(): copy also _config_init attrbibute.
* _PyPreConfig_AsDict() exports _config_init
* Fix _PyPreConfig_GetGlobalConfig(): use Py_UTF8Mode if it's greater
than 0, even if utf8_mode >= 0.
* Add unit tests on environment variables using Python API.
Diffstat (limited to 'Modules/getaddrinfo.c')
0 files changed, 0 insertions, 0 deletions