commit | 124b9eb4e41ba1676dad954eec9a1fb3480794e4 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Wed Aug 29 01:29:06 2018 +0200 |
committer | GitHub <noreply@github.com> | Wed Aug 29 01:29:06 2018 +0200 |
tree | 896bb0524d76ed32915e24b2320b0a8b0628ba57 | |
parent | 2c8ddcf4f14f3e4c87a6fe6678ab5ad09130c6ab [diff] |
bpo-34485: Add _Py_ClearStandardStreamEncoding() (GH-8982) * 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.