mirror of
https://github.com/python/cpython.git
synced 2026-05-09 14:11:28 -04:00
b1e4f6e83e
Remove replace_stdout(): call sys.stdout.reconfigure() instead of set the error handler to backslashreplace. display_header() logs an empty line and flush stdout. Remove encoding workaround in display_header() since stdout error handler is now set to backslashreplace earlier.