Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-36142: Add _PyPreConfig.utf8_mode #12174

Merged
merged 1 commit into from Mar 5, 2019
Merged

bpo-36142: Add _PyPreConfig.utf8_mode #12174

merged 1 commit into from Mar 5, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 5, 2019

  • Move following fields from _PyCoreConfig to _PyPreConfig:

    • coerce_c_locale
    • coerce_c_locale_warn
    • legacy_windows_stdio
    • utf8_mode
  • _PyPreConfig_ReadFromArgv() is now responsible to choose the
    filesystem encoding

  • _PyPreConfig_Write() now sets the LC_CTYPE locale

https://bugs.python.org/issue36142

* Move following fields from _PyCoreConfig to _PyPreConfig:

  * coerce_c_locale
  * coerce_c_locale_warn
  * legacy_windows_stdio
  * utf8_mode

* _PyPreConfig_ReadFromArgv() is now responsible to choose the
  filesystem encoding
* _PyPreConfig_Write() now sets the LC_CTYPE locale
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.

None yet

3 participants