Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 23, 2019

  • _PyPreConfig_InitCompatConfig() sets utf8_mode to 0.
  • Change Py_UTF8Mode default value to 0.
  • Fix _PyPreConfig_Copy(): copy also _config_init attrbibute.
  • 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.

https://bugs.python.org/issue36763

* _PyPreConfig_InitCompatConfig() sets utf8_mode to 0.
* Change Py_UTF8Mode default value to 0.
* Fix _PyPreConfig_Copy(): copy also _config_init attrbibute.
* 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.
@vstinner vstinner merged commit 20e1e25 into python:master May 23, 2019
@vstinner vstinner deleted the init_compat_utf8 branch May 23, 2019 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants