commit | ceb420251c1d635520049fbb7b5269a73d63fb58 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Dec 15 16:25:27 2020 +0100 |
committer | GitHub <noreply@github.com> | Tue Dec 15 16:25:27 2020 +0100 |
tree | f42f9ef03f9e783bff9f9b13d52819704e1c8b65 | |
parent | f7049b5fb680c774e4950d10be62859a749f4e79 [diff] |
bpo-32381: pymain_run_file() uses PySys_FormatStderr() (GH-23778) If config->run_filename doesn't exist, log the error into sys.stderr using "%R" format, to escape properly unencodable characters (usually with backslashreplace).