]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93937: PyOS_StdioReadline() uses PyConfig.legacy_windows_stdio (#94024)
authorVictor Stinner <vstinner@python.org>
Mon, 20 Jun 2022 14:10:47 +0000 (16:10 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jun 2022 14:10:47 +0000 (16:10 +0200)
commitcfb986a1a239f1a00af745a53235b8473b1bd54a
tree275b131dcd4df8d0b1d3a312910d4c7f01f2c545
parent7ad6f74fcf9db1ccfeaf0986064870d8d3887300
gh-93937: PyOS_StdioReadline() uses PyConfig.legacy_windows_stdio (#94024)

On Windows, PyOS_StdioReadline() now gets
PyConfig.legacy_windows_stdio from _PyOS_ReadlineTState, rather than
using the deprecated global Py_LegacyWindowsStdioFlag variable.

Fix also a compiler warning in Py_SetStandardStreamEncoding().
Parser/myreadline.c
Python/initconfig.c