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-34485: Add _Py_ClearStandardStreamEncoding() #8982

Merged
merged 1 commit into from
Aug 28, 2018
Merged

bpo-34485: Add _Py_ClearStandardStreamEncoding() #8982

merged 1 commit into from
Aug 28, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 28, 2018

  • Move Py_SetStandardStreamEncoding() from pylifecycle.c
    to coreconfig.c
  • Add _Py_ClearStandardStreamEncoding() private function.
  • pymain_free() now calls _Py_ClearStandardStreamEncoding().
  • Add assertions add the end of _PyCoreConfig_Read()
  • _PyCoreConfig_Copy(): rename COPY_STR_ATTR() macro
    to COPY_WSTR_ATTR().
  • Fix get_stdio_errors() indentation.

https://bugs.python.org/issue34485

* Move Py_SetStandardStreamEncoding() from pylifecycle.c
  to coreconfig.c
* Add _Py_ClearStandardStreamEncoding() private function.
* pymain_free() now calls _Py_ClearStandardStreamEncoding().
* Add assertions add the end of _PyCoreConfig_Read()
* _PyCoreConfig_Copy(): rename COPY_STR_ATTR() macro
  to COPY_WSTR_ATTR().
* Fix get_stdio_errors() indentation.
@vstinner vstinner merged commit 124b9eb into python:master Aug 28, 2018
@vstinner vstinner deleted the cleanup branch August 28, 2018 23:29
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