[Python-checkins] Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)
Ned Deily
webhook-mailer at python.org
Wed Dec 18 20:50:10 EST 2019
https://github.com/python/cpython/commit/b4f98f412ad9c203c3d60101cf6fdc04415c0032
commit: b4f98f412ad9c203c3d60101cf6fdc04415c0032
branch: 3.7
author: Inada Naoki <songofacandy at gmail.com>
committer: Ned Deily <nad at python.org>
date: 2019-12-18T13:38:18-05:00
summary:
Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)
Co-Authored-By: Victor Stinner <vstinner at python.org>
(cherry picked from commit 95826c773a9004fc5b3c89de55f800504685ab21)
files:
M Modules/main.c
diff --git a/Modules/main.c b/Modules/main.c
index acc59c6c40a99..4d13184f2d184 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -131,6 +131,7 @@ static const char usage_5[] =
"PYTHONHOME : alternate <prefix> directory (or <prefix>%lc<exec_prefix>).\n"
" The default module search path uses %s.\n"
"PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
+"PYTHONUTF8: if set to 1, enable the UTF-8 mode.\n"
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
"PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n";
static const char usage_6[] =
More information about the Python-checkins
mailing list