◐ Shell
reader mode source ↗
Skip to content

bpo-34485: Add _Py_ClearStandardStreamEncoding()#8982

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:cleanup
Aug 28, 2018
Merged

bpo-34485: Add _Py_ClearStandardStreamEncoding()#8982
vstinner merged 1 commit into
python:masterfrom
vstinner:cleanup

Conversation

@vstinner

@vstinner vstinner commented Aug 28, 2018

Copy link
Copy Markdown
Member
  • 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 added the label Aug 28, 2018
@vstinner vstinner merged commit 124b9eb into python:master Aug 28, 2018
@bedevere-bot bedevere-bot removed the label 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