summaryrefslogtreecommitdiffstats
path: root/Modules/atexitmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-15 15:25:27 (GMT)
committerGitHub <noreply@github.com>2020-12-15 15:25:27 (GMT)
commitceb420251c1d635520049fbb7b5269a73d63fb58 (patch)
treef42f9ef03f9e783bff9f9b13d52819704e1c8b65 /Modules/atexitmodule.c
parentf7049b5fb680c774e4950d10be62859a749f4e79 (diff)
downloadcpython-ceb420251c1d635520049fbb7b5269a73d63fb58.zip
cpython-ceb420251c1d635520049fbb7b5269a73d63fb58.tar.gz
cpython-ceb420251c1d635520049fbb7b5269a73d63fb58.tar.bz2
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).
Diffstat (limited to 'Modules/atexitmodule.c')
0 files changed, 0 insertions, 0 deletions